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

#include <OSGTypedFunctors2.h>

Inheritance diagram for osg::TypedVoidFunctor2Base< CallArgT, ArgsT, SizeTraitsT >:

osg::TypedFunctorBase< SizeTraitsT > osg::FunctorBase< SizeTraitsT > osg::TypedFunctionFunctorBase< osg::TypedVoidFunctor2Base< CallArgT, osg::ArgsCollector, SizeTraitsT >, osg::TypedTraits2< GLfloat *typedef, CallArgT, osg::ArgsCollector > > osg::TypedObjectFunctorBase< osg::TypedVoidFunctor2Base< CallArgT, osg::ArgsCollector, SizeTraitsT >, osg::TypedTraits2< GLfloat *typedef, CallArgT, osg::ArgsCollector > > osg::TypedStoredObjectFunctorBase< osg::TypedVoidFunctor2Base< ArgObjectT, osg::ArgsCollector, SizeTraitsT >, osg::TypedSOTraits2< GLfloat *typedef, StoredObjectT, ArgObjectT::ArgsC, osg::ArgsCollector > >

List of all members.

Public Types

Types


typedef CallArgT::ArgType CallArgType
typedef ArgsT::Arg1T Arg1Type

Public Member Functions

Constructors


 TypedVoidFunctor2Base (void)
 TypedVoidFunctor2Base (const TypedVoidFunctor2Base &source)
Destructor


virtual ~TypedVoidFunctor2Base (void)
Call


virtual void call (CallArgType obj, Arg1Type arg1)
Operators


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


Detailed Description

template<class CallArgT, class ArgsT, class SizeTraitsT = DefaultFunctorSizeTraits>
class osg::TypedVoidFunctor2Base< CallArgT, ArgsT, SizeTraitsT >

Definition at line 260 of file OSGTypedFunctors2.h.


Member Typedef Documentation

template<class CallArgT, class ArgsT, class SizeTraitsT = DefaultFunctorSizeTraits>
typedef CallArgT::ArgType osg::TypedVoidFunctor2Base< CallArgT, ArgsT, SizeTraitsT >::CallArgType

Definition at line 270 of file OSGTypedFunctors2.h.

template<class CallArgT, class ArgsT, class SizeTraitsT = DefaultFunctorSizeTraits>
typedef ArgsT ::Arg1T osg::TypedVoidFunctor2Base< CallArgT, ArgsT, SizeTraitsT >::Arg1Type

Definition at line 271 of file OSGTypedFunctors2.h.

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

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


Constructor & Destructor Documentation

template<class CallArgT, class ArgsT, class SizeTraitsT>
osg::TypedVoidFunctor2Base< CallArgT, ArgsT, SizeTraitsT >::TypedVoidFunctor2Base ( void   )  [inline]

Definition at line 158 of file OSGTypedFunctors2.inl.

00158                                                               :
00159     Inherited()
00160 {
00161 }

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

Definition at line 167 of file OSGTypedFunctors2.inl.

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

00168                                          :
00169 
00170     Inherited(source)
00171 {
00172     Self::postCopyConstruct(source);
00173 }

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

Definition at line 179 of file OSGTypedFunctors2.inl.

00180 {
00181 }


Member Function Documentation

template<class CallArgT, class ArgsT, class SizeTraitsT>
void osg::TypedVoidFunctor2Base< CallArgT, ArgsT, SizeTraitsT >::call ( CallArgType  obj,
Arg1Type  arg1 
) [inline, virtual]

Definition at line 187 of file OSGTypedFunctors2.inl.

References FWARNING.

Referenced by osg::Window::validateGLObject().

00188 {
00189     FWARNING(("TypedFunctor2Base::call called, undefined behaviour "
00190               "might be the consequence\n"));
00191 }

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

Definition at line 197 of file OSGTypedFunctors2.inl.

00199 {
00200     if(this != &source)
00201     {
00202         *(static_cast<Inherited *>(this)) = source;
00203     }
00204 }

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 12:03:45 2008 for OpenSG by  doxygen 1.5.5