#include <OSGTypedFunctors2.h>

Public Types | |
Types | |
| typedef CallArgT::ArgType | CallArgType |
| typedef ArgsT::Arg1T | Arg1Type |
Public Member Functions | |
Constructors | |
| TypedFunctor2Base (void) | |
| TypedFunctor2Base (const TypedFunctor2Base &source) | |
Destructor | |
| virtual | ~TypedFunctor2Base (void) |
Call | |
| virtual RetT | call (CallArgType obj, Arg1Type arg1) |
Operators | |
| void | operator= (const TypedFunctor2Base &source) |
Protected Member Functions | |
Helper | |
| void | postCopyConstruct (const TypedFunctorBase &source) |
Protected Attributes | |
Members | |
| UInt8 | _data1 [SizeTraitsT::_uiObjectSize] |
| UInt8 | _data2 [SizeTraitsT::_uiFuncPointerSize] |
| UInt8 | _flags |
Static Protected Attributes | |
Constants | |
| static const UInt8 | ObjectValid = 0x01 |
| static const UInt8 | FuncPtrValid = 0x02 |
| static const UInt8 | FunctorActive = 0x80 |
Private Types | |
Types | |
| typedef TypedFunctorBase < SizeTraitsT > | Inherited |
| typedef TypedFunctor2Base < RetT, CallArgT, ArgsT, SizeTraitsT > | Self |
Definition at line 183 of file OSGTypedFunctors2.h.
| typedef CallArgT::ArgType osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::CallArgType |
Definition at line 193 of file OSGTypedFunctors2.h.
| typedef ArgsT ::Arg1T osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::Arg1Type |
Definition at line 194 of file OSGTypedFunctors2.h.
typedef TypedFunctorBase< SizeTraitsT> osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::Inherited [private] |
Reimplemented from osg::TypedFunctorBase< SizeTraitsT >.
Reimplemented in osg::TypedFunctionFunctorBase< osg::TypedFunctor2Base< RetT, CallArgT, osg::ArgsCollector, SizeTraitsT >, osg::TypedTraits2< RetT, CallArgT, osg::ArgsCollector > >, osg::TypedObjectFunctorBase< osg::TypedFunctor2Base< RetT, CallArgT, osg::ArgsCollector, SizeTraitsT >, osg::TypedTraits2< RetT, CallArgT, osg::ArgsCollector > >, and osg::TypedStoredObjectFunctorBase< osg::TypedFunctor2Base< RetT, ArgObjectT, osg::ArgsCollector, SizeTraitsT >, osg::TypedSOTraits2< RetT, StoredObjectT, ArgObjectT::ArgsC, osg::ArgsCollector > >.
Definition at line 239 of file OSGTypedFunctors2.h.
typedef TypedFunctor2Base<RetT, CallArgT, ArgsT, SizeTraitsT> osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::Self [private] |
Reimplemented from osg::TypedFunctorBase< SizeTraitsT >.
Reimplemented in osg::TypedFunctionFunctorBase< osg::TypedFunctor2Base< RetT, CallArgT, osg::ArgsCollector, SizeTraitsT >, osg::TypedTraits2< RetT, CallArgT, osg::ArgsCollector > >, osg::TypedObjectFunctorBase< osg::TypedFunctor2Base< RetT, CallArgT, osg::ArgsCollector, SizeTraitsT >, osg::TypedTraits2< RetT, CallArgT, osg::ArgsCollector > >, and osg::TypedStoredObjectFunctorBase< osg::TypedFunctor2Base< RetT, ArgObjectT, osg::ArgsCollector, SizeTraitsT >, osg::TypedSOTraits2< RetT, StoredObjectT, ArgObjectT::ArgsC, osg::ArgsCollector > >.
Definition at line 241 of file OSGTypedFunctors2.h.
| osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::TypedFunctor2Base | ( | void | ) | [inline] |
| osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::TypedFunctor2Base | ( | const TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT > & | source | ) | [inline] |
Definition at line 78 of file OSGTypedFunctors2.inl.
References osg::TypedFunctorBase< SizeTraitsT >::postCopyConstruct().
00079 : 00080 00081 Inherited(source) 00082 { 00083 Self::postCopyConstruct(source); 00084 }
| osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::~TypedFunctor2Base | ( | void | ) | [inline, virtual] |
| RetT osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::call | ( | CallArgType | obj, | |
| Arg1Type | arg1 | |||
| ) | [inline, virtual] |
Definition at line 114 of file OSGTypedFunctors2.inl.
References FWARNING.
Referenced by osg::doCallLeave().
00115 { 00116 FWARNING(("TypedFunctor2Base::call called, undefined behaviour " 00117 "might be the consequence\n")); 00118 00119 return RetT(); 00120 }
| void osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::operator= | ( | const TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT > & | source | ) | [inline] |
Definition at line 138 of file OSGTypedFunctors2.inl.
00140 { 00141 if(this != &source) 00142 { 00143 *(static_cast<Inherited *>(this)) = source; 00144 } 00145 }
| void osg::TypedFunctorBase< SizeTraitsT >::postCopyConstruct | ( | const TypedFunctorBase< SizeTraitsT > & | source | ) | [inline, protected, inherited] |
Definition at line 93 of file OSGTypedFunctorBase.inl.
Referenced by osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >::TypedFunctor1Base(), osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::TypedFunctor2Base(), osg::TypedVoidFunctor1Base< CallArgT, SizeTraitsT >::TypedVoidFunctor1Base(), and osg::TypedVoidFunctor2Base< CallArgT, ArgsT, SizeTraitsT >::TypedVoidFunctor2Base().
const UInt8 osg::FunctorBase< SizeTraitsT >::ObjectValid = 0x01 [static, protected, inherited] |
Definition at line 329 of file OSGFunctorBase.h.
const UInt8 osg::FunctorBase< SizeTraitsT >::FuncPtrValid = 0x02 [static, protected, inherited] |
Definition at line 330 of file OSGFunctorBase.h.
const UInt8 osg::FunctorBase< SizeTraitsT >::FunctorActive = 0x80 [static, protected, inherited] |
Definition at line 332 of file OSGFunctorBase.h.
UInt8 osg::FunctorBase< SizeTraitsT >::_data1[SizeTraitsT::_uiObjectSize] [protected, inherited] |
Definition at line 339 of file OSGFunctorBase.h.
UInt8 osg::FunctorBase< SizeTraitsT >::_data2[SizeTraitsT::_uiFuncPointerSize] [protected, inherited] |
Definition at line 340 of file OSGFunctorBase.h.
UInt8 osg::FunctorBase< SizeTraitsT >::_flags [protected, inherited] |
Definition at line 341 of file OSGFunctorBase.h.
1.5.5