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

osg::TypedTraits1< RetT, CallArgT > Struct Template Reference
[Functor1 Helper]

#include <OSGTypedFunctors1.h>

List of all members.

Public Types

typedef CallArgT::ObjType ObjType
typedef CallArgT::ArgType ArgType
typedef FunctorBuildFuncType1<
RetT, CallArgT >::FuncFunctionType 
FunctionF
typedef FunctorBuildFuncType1<
RetT, CallArgT >::ObjFuncType 
ObjMethodF

Static Public Member Functions

static void callObjectMethodVoid (UInt8 *pData2, ArgType arg1)
static RetT callObjectMethod (UInt8 *pData2, ArgType arg1)


Detailed Description

template<class RetT, class CallArgT>
struct osg::TypedTraits1< RetT, CallArgT >

Definition at line 71 of file OSGTypedFunctors1.h.


Member Typedef Documentation

template<class RetT, class CallArgT>
typedef CallArgT::ObjType osg::TypedTraits1< RetT, CallArgT >::ObjType
 

Definition at line 73 of file OSGTypedFunctors1.h.

template<class RetT, class CallArgT>
typedef CallArgT::ArgType osg::TypedTraits1< RetT, CallArgT >::ArgType
 

Definition at line 74 of file OSGTypedFunctors1.h.

template<class RetT, class CallArgT>
typedef FunctorBuildFuncType1<RetT, CallArgT>::FuncFunctionType osg::TypedTraits1< RetT, CallArgT >::FunctionF
 

Definition at line 77 of file OSGTypedFunctors1.h.

template<class RetT, class CallArgT>
typedef FunctorBuildFuncType1<RetT, CallArgT>::ObjFuncType osg::TypedTraits1< RetT, CallArgT >::ObjMethodF
 

Definition at line 80 of file OSGTypedFunctors1.h.


Member Function Documentation

template<class RetT, class CallArgT>
static void osg::TypedTraits1< RetT, CallArgT >::callObjectMethodVoid UInt8 pData2,
ArgType  arg1
[inline, static]
 

Definition at line 82 of file OSGTypedFunctors1.h.

00083     {
00084         ObjMethodF  pFunc = *((ObjMethodF *) pData2);
00085         ObjType    *pObj  = CallArgT::getPtr(arg1); 
00086 
00087         (pObj->*pFunc)();
00088     }

template<class RetT, class CallArgT>
static RetT osg::TypedTraits1< RetT, CallArgT >::callObjectMethod UInt8 pData2,
ArgType  arg1
[inline, static]
 

Definition at line 90 of file OSGTypedFunctors1.h.

00091     {
00092         ObjMethodF  pFunc = *((ObjMethodF *) pData2);
00093         ObjType    *pObj  = CallArgT::getPtr(arg1); 
00094 
00095         return (pObj->*pFunc)();
00096     }


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