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

osg::TypedTraits2< RetT, CallArgT, ArgsT > Struct Template Reference
[Functor2 Helper]

#include <OSGTypedFunctors2.h>

List of all members.

Public Types

typedef CallArgT::ObjType ObjType
typedef CallArgT::ArgType ArgType
typedef ArgsT::Arg1T Arg1T
typedef FunctorBuildFuncType2<
RetT, CallArgT, ArgsT
>::FuncFunctionType 
FunctionF
typedef FunctorBuildFuncType2<
RetT, CallArgT, ArgsT
>::ObjFuncType 
ObjMethodF

Static Public Member Functions

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


Detailed Description

template<class RetT, class CallArgT, class ArgsT>
struct osg::TypedTraits2< RetT, CallArgT, ArgsT >

Definition at line 72 of file OSGTypedFunctors2.h.


Member Typedef Documentation

template<class RetT, class CallArgT, class ArgsT>
typedef CallArgT::ObjType osg::TypedTraits2< RetT, CallArgT, ArgsT >::ObjType
 

Definition at line 74 of file OSGTypedFunctors2.h.

template<class RetT, class CallArgT, class ArgsT>
typedef CallArgT::ArgType osg::TypedTraits2< RetT, CallArgT, ArgsT >::ArgType
 

Definition at line 75 of file OSGTypedFunctors2.h.

template<class RetT, class CallArgT, class ArgsT>
typedef ArgsT::Arg1T osg::TypedTraits2< RetT, CallArgT, ArgsT >::Arg1T
 

Definition at line 77 of file OSGTypedFunctors2.h.

template<class RetT, class CallArgT, class ArgsT>
typedef FunctorBuildFuncType2<RetT, CallArgT, ArgsT >::FuncFunctionType osg::TypedTraits2< RetT, CallArgT, ArgsT >::FunctionF
 

Definition at line 82 of file OSGTypedFunctors2.h.

template<class RetT, class CallArgT, class ArgsT>
typedef FunctorBuildFuncType2<RetT, CallArgT, ArgsT>::ObjFuncType osg::TypedTraits2< RetT, CallArgT, ArgsT >::ObjMethodF
 

Definition at line 85 of file OSGTypedFunctors2.h.


Member Function Documentation

template<class RetT, class CallArgT, class ArgsT>
static void osg::TypedTraits2< RetT, CallArgT, ArgsT >::callObjectMethodVoid UInt8 pData2,
ArgType  arg1,
Arg1T  arg2
[inline, static]
 

Definition at line 87 of file OSGTypedFunctors2.h.

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

template<class RetT, class CallArgT, class ArgsT>
static RetT osg::TypedTraits2< RetT, CallArgT, ArgsT >::callObjectMethod UInt8 pData2,
ArgType  arg1,
Arg1T  arg2
[inline, static]
 

Definition at line 97 of file OSGTypedFunctors2.h.

00100     {
00101         ObjMethodF  pFunc = *((ObjMethodF *) pData2);
00102         ObjType    *pObj  = CallArgT::getPtr(arg1); 
00103 
00104         return (pObj->*pFunc)(arg2);
00105     }


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