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

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

#include <OSGTypedFunctors1.h>

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

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

Types

typedef TypedVoidFunctor1Base<
CallArgT, SizeTraitsT > 
Self
*typedef TypedFunctorBase<
SizeTraitsT > 
Inherited

Public Member Functions

Constructors
TypedVoidFunctor1Base (void)
 TypedVoidFunctor1Base (const TypedVoidFunctor1Base &source)
Destructor
*virtual ~TypedVoidFunctor1Base (void)
Call
*virtual void call (CallArgType obj)
Operators
*void operator= (const TypedVoidFunctor1Base &source)

Public Attributes

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

Detailed Description

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

Definition at line 238 of file OSGTypedFunctors1.h.


Member Typedef Documentation

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

Reimplemented from osg::TypedFunctorBase< SizeTraitsT >.

Reimplemented in osg::TypedFunctionVoidFunctor1< CallArgT, SizeTraitsT >, osg::TypedObjectVoidFunctor1< CallArgT, SizeTraitsT >, osg::TypedStoredObjectVoidFunctor1< StoredObjectT, ArgsT, SizeTraitsT >, osg::TypedFunctionFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT >, TypedTraits1< void, CallArgT > >, osg::TypedObjectFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT >, TypedTraits1< void, CallArgT > >, and osg::TypedStoredObjectFunctorBase< TypedVoidFunctor1Base< ArgsT, SizeTraitsT >, TypedSOTraits1< void, StoredObjectT, ArgsT::ArgsC > >.

Definition at line 294 of file OSGTypedFunctors1.h.


Constructor & Destructor Documentation

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

Definition at line 146 of file OSGTypedFunctors1.inl.

00146                                                               :
00147     Inherited()
00148 {
00149 }

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

Definition at line 153 of file OSGTypedFunctors1.inl.

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

00154                                          :
00155 
00156     Inherited(source)
00157 {
00158     Self::postCopyConstruct(source);
00159 }

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

Definition at line 164 of file OSGTypedFunctors1.inl.

00165 {
00166 }


Member Function Documentation

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

Reimplemented in osg::TypedFunctionVoidFunctor1< CallArgT, SizeTraitsT >, osg::TypedObjectVoidFunctor1< CallArgT, SizeTraitsT >, and osg::TypedStoredObjectVoidFunctor1< StoredObjectT, ArgsT, SizeTraitsT >.

Definition at line 171 of file OSGTypedFunctors1.inl.

References FWARNING.

00172 {
00173     FWARNING(("TypedFunctor1Base::call called, undefined behaviour " 
00174                  "might be the consequence\n"));
00175 }

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

Definition at line 181 of file OSGTypedFunctors1.inl.

00183 {
00184     if (this != &source)
00185     {
00186         *(static_cast<Inherited *>(this)) = source;
00187     }
00188 }

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::TypedVoidFunctor1Base< CallArgT, SizeTraitsT >::CallArgType
 

Reimplemented in osg::TypedFunctionVoidFunctor1< CallArgT, SizeTraitsT >, osg::TypedObjectVoidFunctor1< CallArgT, SizeTraitsT >, and osg::TypedStoredObjectVoidFunctor1< StoredObjectT, ArgsT, SizeTraitsT >.

Definition at line 248 of file OSGTypedFunctors1.h.

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

Reimplemented from osg::TypedFunctorBase< SizeTraitsT >.

Reimplemented in osg::TypedFunctionVoidFunctor1< CallArgT, SizeTraitsT >, osg::TypedObjectVoidFunctor1< CallArgT, SizeTraitsT >, osg::TypedStoredObjectVoidFunctor1< StoredObjectT, ArgsT, SizeTraitsT >, osg::TypedFunctionFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT >, TypedTraits1< void, CallArgT > >, osg::TypedObjectFunctorBase< TypedVoidFunctor1Base< CallArgT, SizeTraitsT >, TypedTraits1< void, CallArgT > >, and osg::TypedStoredObjectFunctorBase< TypedVoidFunctor1Base< ArgsT, SizeTraitsT >, TypedSOTraits1< void, StoredObjectT, ArgsT::ArgsC > >.

Definition at line 292 of file OSGTypedFunctors1.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