#include <OSGTypedFunctors1.h>
Inheritance diagram for osg::TypedFunctionFunctor1< RetT, CallArgT, SizeTraitsT >:

Types | |
| typedef TypedFunctionFunctor1< RetT, CallArgT, SizeTraitsT > | Self |
| *typedef TypedFunctionFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >, TypedTraits1< RetT, CallArgT > > | Inherited |
Public Member Functions | |
| * | TypedFunctionFunctorBase (void) |
| TypedFunctionFunctorBase (const TypedFunctionFunctorBase &source) | |
| *void | setMethod (FunctionF pFunc) |
Constructors | |
| * | TypedFunctionFunctor1 (void) |
| TypedFunctionFunctor1 (const TypedFunctionFunctor1 &source) | |
Destructor | |
| *virtual | ~TypedFunctionFunctor1 (void) |
Call | |
| *virtual RetT | call (CallArgType pObj) |
Public Attributes | |
| *typedef TypedTraits1< RetT, CallArgT >::FunctionF | FunctionF |
Types | |
| *typedef CallArgT::ArgType | CallArgType |
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 Member Functions | |
Operators | |
| *void | operator= (const TypedFunctionFunctor1 &source) |
| prohibit default function (move to 'public' if needed) | |
Definition at line 313 of file OSGTypedFunctors1.h.
|
|||||
|
Reimplemented from osg::TypedFunctionFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >, TypedTraits1< RetT, CallArgT > >. Definition at line 372 of file OSGTypedFunctors1.h. |
|
||||||||||
|
Definition at line 203 of file OSGTypedFunctors1.inl. 00203 : 00204 Inherited() 00205 { 00206 }
|
|
||||||||||
|
Definition at line 214 of file OSGTypedFunctors1.inl. 00215 : 00216 00217 Inherited(source) 00218 { 00219 }
|
|
||||||||||
|
Definition at line 227 of file OSGTypedFunctors1.inl.
|
|
||||||||||
|
Reimplemented from osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >. Definition at line 241 of file OSGTypedFunctors1.inl. 00242 { 00243 typedef typename Self::FunctionF FuncF; 00244 00245 if(Self::_flags & Self::FuncPtrValid) 00246 { 00247 FuncF pFunc = *((FuncF *) Self::_data2); 00248 00249 return pFunc(pObj); 00250 } 00251 else 00252 { 00253 return RetT(); 00254 } 00255 }
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
Referenced by osg::osgTypedFunctionFunctor1CPtr(). |
|
||||||||||
|
Definition at line 93 of file OSGTypedFunctorBase.inl. Referenced by osg::TypedVoidFunctor1Base< CallArgT, SizeTraitsT >::TypedVoidFunctor1Base().
|
|
|||||
|
Reimplemented from osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >. Definition at line 328 of file OSGTypedFunctors1.h. |
|
|||||
|
Reimplemented from osg::TypedFunctionFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >, TypedTraits1< RetT, CallArgT > >. Definition at line 370 of file OSGTypedFunctors1.h. |
|
|
Definition at line 148 of file OSGTypedFunctorBase.h. |
|
|||||
|
Definition at line 327 of file OSGFunctorBase.h. |
|
|||||
|
Definition at line 328 of file OSGFunctorBase.h. |
|
|||||
|
Definition at line 330 of file OSGFunctorBase.h. |
|
|||||
|
Definition at line 337 of file OSGFunctorBase.h. |
|
|||||
|
Definition at line 338 of file OSGFunctorBase.h. |
|
|||||
|
Definition at line 339 of file OSGFunctorBase.h. |
1.4.3