Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osg::TypedSOTraits1< RetT, StoredObjCallArgT, ArgsT > Struct Template Reference
[Functor1 Helper]

#include <OSGTypedFunctors1.h>

List of all members.

Public Types

typedef StoredObjCallArgT::ObjType ObjType
typedef ArgsT::ArgType ArgType
typedef ObjTypeSetObjectT
typedef ObjTypeStoredObjectT
typedef FunctorBuildObjFuncType1<
RetT, StoredObjCallArgT,
ArgsT >::ObjFuncType 
ObjMethodF

Static Public Member Functions

static void setCalledObject (Char8 *pData, SetObjectT obj)
static void callObjectMethodVoid (UInt8 *pData1, UInt8 *pData2, ArgType arg1)
static RetT callObjectMethod (UInt8 *pData1, UInt8 *pData2, ArgType arg1)


Detailed Description

template<class RetT, class StoredObjCallArgT, class ArgsT>
struct osg::TypedSOTraits1< RetT, StoredObjCallArgT, ArgsT >

Definition at line 109 of file OSGTypedFunctors1.h.


Member Typedef Documentation

template<class RetT, class StoredObjCallArgT, class ArgsT>
typedef StoredObjCallArgT::ObjType osg::TypedSOTraits1< RetT, StoredObjCallArgT, ArgsT >::ObjType
 

Definition at line 111 of file OSGTypedFunctors1.h.

template<class RetT, class StoredObjCallArgT, class ArgsT>
typedef ArgsT::ArgType osg::TypedSOTraits1< RetT, StoredObjCallArgT, ArgsT >::ArgType
 

Definition at line 113 of file OSGTypedFunctors1.h.

template<class RetT, class StoredObjCallArgT, class ArgsT>
typedef ObjType* osg::TypedSOTraits1< RetT, StoredObjCallArgT, ArgsT >::SetObjectT
 

Definition at line 115 of file OSGTypedFunctors1.h.

template<class RetT, class StoredObjCallArgT, class ArgsT>
typedef ObjType* osg::TypedSOTraits1< RetT, StoredObjCallArgT, ArgsT >::StoredObjectT
 

Definition at line 116 of file OSGTypedFunctors1.h.

template<class RetT, class StoredObjCallArgT, class ArgsT>
typedef FunctorBuildObjFuncType1<RetT, StoredObjCallArgT, ArgsT >::ObjFuncType osg::TypedSOTraits1< RetT, StoredObjCallArgT, ArgsT >::ObjMethodF
 

Definition at line 121 of file OSGTypedFunctors1.h.


Member Function Documentation

template<class RetT, class StoredObjCallArgT, class ArgsT>
static void osg::TypedSOTraits1< RetT, StoredObjCallArgT, ArgsT >::setCalledObject Char8 pData,
SetObjectT  obj
[inline, static]
 

Definition at line 124 of file OSGTypedFunctors1.h.

00125     {
00126         *((ObjType **) pData) = obj;
00127     }

template<class RetT, class StoredObjCallArgT, class ArgsT>
static void osg::TypedSOTraits1< RetT, StoredObjCallArgT, ArgsT >::callObjectMethodVoid UInt8 pData1,
UInt8 pData2,
ArgType  arg1
[inline, static]
 

Definition at line 129 of file OSGTypedFunctors1.h.

00132     {
00133         StoredObjectT pObj  = *((StoredObjectT *) pData1);
00134 
00135         ObjMethodF    pFunc = *((ObjMethodF     *) pData2);
00136         
00137         (pObj->*pFunc)(arg1);
00138     }

template<class RetT, class StoredObjCallArgT, class ArgsT>
static RetT osg::TypedSOTraits1< RetT, StoredObjCallArgT, ArgsT >::callObjectMethod UInt8 pData1,
UInt8 pData2,
ArgType  arg1
[inline, static]
 

Definition at line 140 of file OSGTypedFunctors1.h.

00143     {
00144         StoredObjectT pObj  = *((StoredObjectT *) pData1);
00145 
00146         ObjMethodF    pFunc = *((ObjMethodF     *) pData2);
00147         
00148         return (pObj->*pFunc)(arg1);
00149     }


The documentation for this struct was generated from the following file:
Generated on Thu Aug 25 04:12:48 2005 for OpenSG by  doxygen 1.4.3