osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT > Class Template Reference
[Functors]

#include <OSGTypedFunctors1.h>

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

osg::TypedFunctorBase< SizeTraitsT > osg::FunctorBase< SizeTraitsT > osg::TypedFunctionFunctorBase< osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >, osg::TypedTraits1< RetT, CallArgT > > osg::TypedObjectFunctorBase< osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >, osg::TypedTraits1< RetT, CallArgT > > osg::TypedStoredObjectFunctorBase< osg::TypedFunctor1Base< RetT, osg::ArgsCollector, SizeTraitsT >, osg::TypedSOTraits1< RetT, StoredObjectT, ArgsT::ArgsC > >

List of all members.

Public Types

Types


typedef CallArgT::ArgType CallArgType

Public Member Functions

Constructors


 TypedFunctor1Base (void)
 TypedFunctor1Base (const TypedFunctor1Base &source)
Destructor


virtual ~TypedFunctor1Base (void)
Call


virtual RetT call (CallArgType obj)
Operators


void operator= (const TypedFunctor1Base &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 TypedFunctor1Base
< RetT, CallArgT, SizeTraitsT > 
Self


Detailed Description

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

Definition at line 166 of file OSGTypedFunctors1.h.


Member Typedef Documentation

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

Definition at line 176 of file OSGTypedFunctors1.h.

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

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


Constructor & Destructor Documentation

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

Definition at line 62 of file OSGTypedFunctors1.inl.

00062                                                       :
00063     Inherited()
00064 {
00065 }

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

Definition at line 73 of file OSGTypedFunctors1.inl.

References osg::TypedFunctorBase< SizeTraitsT >::postCopyConstruct().

00074                                      :
00075 
00076     Inherited(source)
00077 {
00078     Self::postCopyConstruct(source);
00079 }

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

Definition at line 87 of file OSGTypedFunctors1.inl.

00088 {
00089 }


Member Function Documentation

template<class RetT, class CallArgT, class SizeTraitsT>
RetT osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >::call ( CallArgType  obj  )  [inline, virtual]

Definition at line 105 of file OSGTypedFunctors1.inl.

References FWARNING.

Referenced by osg::doCallEnter(), osg::RenderAction::draw(), and osg::ChunkMaterial::draw().

00106 {
00107     FWARNING(("TypedFunctor1Base::call called, undefined behaviour "
00108                  "might be the consequence\n"));
00109 
00110     return RetT();
00111 }

template<class RetT, class CallArgT, class SizeTraitsT>
void osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >::operator= ( const TypedFunctor1Base< RetT, CallArgT, SizeTraitsT > &  source  )  [inline]

Definition at line 127 of file OSGTypedFunctors1.inl.

00129 {
00130     if (this != &source)
00131     {
00132         *(static_cast<Inherited *>(this)) = source;
00133     }
00134 }

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


Member Data Documentation

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

Definition at line 329 of file OSGFunctorBase.h.

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

Definition at line 330 of file OSGFunctorBase.h.

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

Definition at line 332 of file OSGFunctorBase.h.

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

Definition at line 339 of file OSGFunctorBase.h.

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

Definition at line 340 of file OSGFunctorBase.h.

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

Definition at line 341 of file OSGFunctorBase.h.


The documentation for this class was generated from the following files:

Generated on Mon Mar 17 11:10:58 2008 for OpenSG by  doxygen 1.5.5