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

osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT > Class Template Reference

#include <OSGTypedFunctors1.h>

Inheritance diagram for osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >:

osg::TypedObjectFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >, TypedTraits1< RetT, CallArgT > > osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT > osg::TypedFunctorBase< SizeTraitsT > osg::FunctorBase< SizeTraitsT > List of all members.

Types

typedef TypedObjectFunctorBase<
TypedFunctor1Base< RetT,
CallArgT, SizeTraitsT >,
TypedTraits1< RetT, CallArgT > > 
Inherited
typedef TypedObjectFunctor1<
RetT, CallArgT > 
Self
*typedef TypedTraits1< RetT,
CallArgT > 
TypeTraits

Public Member Functions

TypedObjectFunctorBase (void)
 TypedObjectFunctorBase (const TypedObjectFunctorBase &source)
*void setMethod (ObjMethodF pFunc)
Constructors
TypedObjectFunctor1 (void)
 TypedObjectFunctor1 (const TypedObjectFunctor1 &source)
Destructor
*virtual ~TypedObjectFunctor1 (void)
Call
*virtual RetT call (CallArgType pObj)

Public Attributes

*typedef TypedTraits1< RetT,
CallArgT >::ObjMethodF 
ObjMethodF
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 TypedObjectFunctor1 &source)
 prohibit default function (move to 'public' if needed)

Detailed Description

template<class RetT, class CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
class osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >

AnonObjectFunctor1

Definition at line 495 of file OSGTypedFunctors1.h.


Member Typedef Documentation

template<class RetT, class CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
typedef TypedObjectFunctorBase< TypedFunctor1Base<RetT, CallArgT, SizeTraitsT>, TypedTraits1< RetT, CallArgT > > osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >::Inherited [private]
 

Reimplemented from osg::TypedObjectFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >, TypedTraits1< RetT, CallArgT > >.

Definition at line 555 of file OSGTypedFunctors1.h.

template<class RetT, class CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
typedef TypedObjectFunctor1<RetT, CallArgT > osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >::Self [private]
 

Reimplemented from osg::TypedObjectFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >, TypedTraits1< RetT, CallArgT > >.

Definition at line 559 of file OSGTypedFunctors1.h.


Constructor & Destructor Documentation

template<class RetT, class CallArgT, class SizeTraitsT>
osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >::TypedObjectFunctor1 void   )  [inline]
 

Definition at line 325 of file OSGTypedFunctors1.inl.

00325                                                            :
00326     Inherited()
00327 {
00328 }

template<class RetT, class CallArgT, class SizeTraitsT>
osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >::TypedObjectFunctor1 const TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT > &  source  )  [inline]
 

Definition at line 336 of file OSGTypedFunctors1.inl.

00337                                        : 
00338 
00339     Inherited(source) 
00340 {
00341 }

template<class RetT, class CallArgT, class SizeTraitsT>
osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >::~TypedObjectFunctor1 void   )  [inline, virtual]
 

Definition at line 349 of file OSGTypedFunctors1.inl.

00350 {
00351 }


Member Function Documentation

template<class RetT, class CallArgT, class SizeTraitsT>
RetT osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >::call CallArgType  pObj  )  [inline, virtual]
 

Reimplemented from osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >.

Definition at line 363 of file OSGTypedFunctors1.inl.

00364 { 
00365     if(Self::_flags & Self::FuncPtrValid)
00366     {
00367         return TypeTraits::callObjectMethod(Self::_data2, obj);
00368     }
00369     else
00370     {
00371         return RetT();
00372     }
00373 }

template<class RetT, class CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
* void osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >::operator= const TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT > &  source  )  [private]
 

* osg::TypedObjectFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT > , TypedTraits1< RetT, CallArgT > >::TypedObjectFunctorBase void   )  [inherited]
 

osg::TypedObjectFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT > , TypedTraits1< RetT, CallArgT > >::TypedObjectFunctorBase const TypedObjectFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >, TypedTraits1< RetT, CallArgT > > &  source  )  [inherited]
 

* void osg::TypedObjectFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT > , TypedTraits1< RetT, CallArgT > >::setMethod ObjMethodF  pFunc  )  [inherited]
 

template<class SizeTraitsT>
void osg::TypedFunctorBase< SizeTraitsT >::postCopyConstruct const TypedFunctorBase< SizeTraitsT > &  source  )  [inline, protected, inherited]
 

Definition at line 93 of file OSGTypedFunctorBase.inl.

Referenced by osg::TypedVoidFunctor1Base< CallArgT, SizeTraitsT >::TypedVoidFunctor1Base().

00095 {
00096     memcpy(this, &source, 
00097            sizeof(TypedFunctorBase<SizeTraitsT>)); 
00098 }


Member Data Documentation

template<class RetT, class CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
* typedef CallArgT::ArgType osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >::CallArgType
 

Reimplemented from osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >.

Definition at line 510 of file OSGTypedFunctors1.h.

template<class RetT, class CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
* typedef TypedTraits1<RetT, CallArgT> osg::TypedObjectFunctor1< RetT, CallArgT, SizeTraitsT >::TypeTraits [private]
 

Definition at line 547 of file OSGTypedFunctors1.h.

* typedef TypedTraits1< RetT, CallArgT > ::ObjMethodF osg::TypedObjectFunctorBase< TypedFunctor1Base< RetT, CallArgT, SizeTraitsT > , TypedTraits1< RetT, CallArgT > >::ObjMethodF [inherited]
 

Definition at line 220 of file OSGTypedFunctorBase.h.

template<class SizeTraitsT = DefaultFunctorSizeTraits>
* static const UInt8 osg::FunctorBase< SizeTraitsT >::ObjectValid = 0x01 [static, protected, inherited]
 

Definition at line 327 of file OSGFunctorBase.h.

template<class SizeTraitsT = DefaultFunctorSizeTraits>
const UInt8 osg::FunctorBase< SizeTraitsT >::FuncPtrValid = 0x02 [static, protected, inherited]
 

Definition at line 328 of file OSGFunctorBase.h.

template<class SizeTraitsT = DefaultFunctorSizeTraits>
const UInt8 osg::FunctorBase< SizeTraitsT >::FunctorActive = 0x80 [static, protected, inherited]
 

Definition at line 330 of file OSGFunctorBase.h.

template<class SizeTraitsT = DefaultFunctorSizeTraits>
* UInt8 osg::FunctorBase< SizeTraitsT >::_data1[SizeTraitsT::_uiObjectSize] [protected, inherited]
 

Definition at line 337 of file OSGFunctorBase.h.

template<class SizeTraitsT = DefaultFunctorSizeTraits>
UInt8 osg::FunctorBase< SizeTraitsT >::_data2[SizeTraitsT::_uiFuncPointerSize] [protected, inherited]
 

Definition at line 338 of file OSGFunctorBase.h.

template<class SizeTraitsT = DefaultFunctorSizeTraits>
UInt8 osg::FunctorBase< SizeTraitsT >::_flags [protected, inherited]
 

Definition at line 339 of file OSGFunctorBase.h.


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