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

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

#include <OSGTypedFunctors1.h>

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

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

Types

typedef TypedObjectFunctorBase<
TypedVoidFunctor1Base< CallArgT,
SizeTraitsT >, TypedTraits1<
void, CallArgT > > 
Inherited
typedef TypedObjectVoidFunctor1<
CallArgT, SizeTraitsT > 
Self
*typedef TypedTraits1< void,
CallArgT > 
TypeTraits

Public Member Functions

TypedObjectFunctorBase (void)
 TypedObjectFunctorBase (const TypedObjectFunctorBase &source)
*void setMethod (ObjMethodF pFunc)
Constructors
TypedObjectVoidFunctor1 (void)
 TypedObjectVoidFunctor1 (const TypedObjectVoidFunctor1 &source)
Destructor
*virtual ~TypedObjectVoidFunctor1 (void)
Call
*virtual void call (CallArgType obj)

Public Attributes

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

Detailed Description

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

Definition at line 590 of file OSGTypedFunctors1.h.


Member Typedef Documentation

template<class CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
typedef TypedObjectFunctorBase< TypedVoidFunctor1Base<CallArgT, SizeTraitsT>, TypedTraits1 <void, CallArgT> > osg::TypedObjectVoidFunctor1< CallArgT, SizeTraitsT >::Inherited [private]
 

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

Definition at line 648 of file OSGTypedFunctors1.h.

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

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

Definition at line 652 of file OSGTypedFunctors1.h.


Constructor & Destructor Documentation

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

Definition at line 390 of file OSGTypedFunctors1.inl.

00390                                                                    :
00391     Inherited()
00392 {
00393 }

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

Definition at line 399 of file OSGTypedFunctors1.inl.

00400                                            : 
00401 
00402     Inherited(source) 
00403 {
00404 }

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

Definition at line 410 of file OSGTypedFunctors1.inl.

00411 {
00412 }


Member Function Documentation

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

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

Definition at line 418 of file OSGTypedFunctors1.inl.

00419 { 
00420     if(Self::_flags & Self::FuncPtrValid)
00421     {
00422         TypeTraits::callObjectMethodVoid(Self::_data2, obj);
00423     }
00424 }

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

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

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

* void osg::TypedObjectFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT > , TypedTraits1< void, 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 CallArgT, class SizeTraitsT = DefaultFunctorSizeTraits>
* typedef CallArgT::ArgType osg::TypedObjectVoidFunctor1< CallArgT, SizeTraitsT >::CallArgType
 

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

Definition at line 604 of file OSGTypedFunctors1.h.

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

Definition at line 641 of file OSGTypedFunctors1.h.

* typedef TypedTraits1< void, CallArgT > ::ObjMethodF osg::TypedObjectFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT > , TypedTraits1< void, 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:49 2005 for OpenSG by  doxygen 1.4.3