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

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

#include <OSGTypedFunctors1.h>

Inheritance diagram for osg::TypedFunctionVoidFunctor1< CallArgT, SizeTraitsT >:

osg::TypedFunctionFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT >, TypedTraits1< void, CallArgT > > osg::TypedVoidFunctor1Base< CallArgT, SizeTraitsT > osg::TypedFunctorBase< SizeTraitsT > osg::FunctorBase< SizeTraitsT > List of all members.

Types

typedef TypedFunctionVoidFunctor1<
CallArgT, SizeTraitsT > 
Self
*typedef TypedFunctionFunctorBase<
TypedVoidFunctor1Base< CallArgT,
SizeTraitsT >, TypedTraits1<
void, CallArgT > > 
Inherited

Public Member Functions

TypedFunctionFunctorBase (void)
 TypedFunctionFunctorBase (const TypedFunctionFunctorBase &source)
*void setMethod (FunctionF pFunc)
Constructors
TypedFunctionVoidFunctor1 (void)
 TypedFunctionVoidFunctor1 (const TypedFunctionVoidFunctor1 &source)
Destructor
*virtual ~TypedFunctionVoidFunctor1 (void)
Call
*virtual void call (CallArgType pObj)

Public Attributes

*typedef TypedTraits1< void,
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 TypedFunctionVoidFunctor1 &source)
 prohibit default function (move to 'public' if needed)

Detailed Description

template<class CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
class osg::TypedFunctionVoidFunctor1< CallArgT, SizeTraitsT >

Definition at line 404 of file OSGTypedFunctors1.h.


Member Typedef Documentation

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

Reimplemented from osg::TypedFunctionFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT >, TypedTraits1< void, CallArgT > >.

Definition at line 462 of file OSGTypedFunctors1.h.


Constructor & Destructor Documentation

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

Definition at line 272 of file OSGTypedFunctors1.inl.

00272                                                                        :
00273     Inherited()
00274 {
00275 }

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

Definition at line 281 of file OSGTypedFunctors1.inl.

00282                                                                        : 
00283 
00284     Inherited(source) 
00285 {
00286 }

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

Definition at line 292 of file OSGTypedFunctors1.inl.

00293 {
00294 }


Member Function Documentation

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

Reimplemented from osg::TypedVoidFunctor1Base< CallArgT, SizeTraitsT >.

Definition at line 300 of file OSGTypedFunctors1.inl.

00301 { 
00302     typedef typename Self::FunctionF FuncF;
00303 
00304     if(Self::_flags & Self::FuncPtrValid)
00305     {
00306         FuncF pFunc = *((FuncF *) Self::_data2);
00307         
00308         pFunc(pObj);
00309     }
00310 }

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

* osg::TypedFunctionFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT > , TypedTraits1< void, CallArgT > >::TypedFunctionFunctorBase void   )  [inherited]
 

osg::TypedFunctionFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT > , TypedTraits1< void, CallArgT > >::TypedFunctionFunctorBase const TypedFunctionFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT >, TypedTraits1< void, CallArgT > > &  source  )  [inherited]
 

* void osg::TypedFunctionFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT > , TypedTraits1< void, CallArgT > >::setMethod FunctionF  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 CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
* typedef CallArgT::ArgType osg::TypedFunctionVoidFunctor1< CallArgT, SizeTraitsT >::CallArgType
 

Reimplemented from osg::TypedVoidFunctor1Base< CallArgT, SizeTraitsT >.

Definition at line 418 of file OSGTypedFunctors1.h.

template<class CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
* typedef TypedFunctionFunctorBase<TypedVoidFunctor1Base<CallArgT, SizeTraitsT>, TypedTraits1 <void, CallArgT> > osg::TypedFunctionVoidFunctor1< CallArgT, SizeTraitsT >::Inherited [private]
 

Reimplemented from osg::TypedFunctionFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT >, TypedTraits1< void, CallArgT > >.

Definition at line 459 of file OSGTypedFunctors1.h.

* typedef TypedTraits1< void, CallArgT > ::FunctionF osg::TypedFunctionFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT > , TypedTraits1< void, CallArgT > >::FunctionF [inherited]
 

Definition at line 148 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