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

osg::TypedStoredObjectFunctorBase< Parent, Params > Class Template Reference
[Functors]

#include <OSGTypedFunctorBase.h>

Inheritance diagram for osg::TypedStoredObjectFunctorBase< Parent, Params >:

osg::VRMLNodeFactory< BaseT > List of all members.

Types

typedef Params::SetObjectT SetObjectT
*typedef Params::ObjMethodF ObjMethodF

Types

typedef TypedStoredObjectFunctorBase<
Parent, Params > 
Self
*typedef Parent Inherited

Public Member Functions

Constructors
TypedStoredObjectFunctorBase (void)
 TypedStoredObjectFunctorBase (const TypedStoredObjectFunctorBase &source)
Destructor
*virtual ~TypedStoredObjectFunctorBase (void)
Set
*void setMethod (ObjMethodF pFunc)
void setCalledObject (SetObjectT pObj)
void setObjectAndMethod (SetObjectT pObj, ObjMethodF pFunc)

Protected Member Functions

Operators
*void operator= (const TypedStoredObjectFunctorBase &source)

Detailed Description

template<class Parent, class Params>
class osg::TypedStoredObjectFunctorBase< Parent, Params >

Definition at line 285 of file OSGTypedFunctorBase.h.


Member Typedef Documentation

template<class Parent, class Params>
typedef Params::SetObjectT osg::TypedStoredObjectFunctorBase< Parent, Params >::SetObjectT
 

Definition at line 297 of file OSGTypedFunctorBase.h.

template<class Parent, class Params>
typedef TypedStoredObjectFunctorBase<Parent, Params> osg::TypedStoredObjectFunctorBase< Parent, Params >::Self [private]
 

Reimplemented in osg::TypedStoredObjectFunctor1< RetT, StoredObjectT, ArgsT, SizeTraitsT >, osg::TypedStoredObjectVoidFunctor1< StoredObjectT, ArgsT, SizeTraitsT >, osg::TypedStoredObjectFunctor2< RetT, StoredObjectT, ArgObjectT, ArgsT, SizeTraitsT >, and osg::TypedStoredObjectVoidFunctor2< StoredObjectT, ArgObjectT, ArgsT, SizeTraitsT >.

Definition at line 348 of file OSGTypedFunctorBase.h.


Constructor & Destructor Documentation

template<class Parent, class Params>
osg::TypedStoredObjectFunctorBase< Parent, Params >::TypedStoredObjectFunctorBase void   )  [inline]
 

Definition at line 185 of file OSGTypedFunctorBase.inl.

00186           :
00187 
00188     Inherited()
00189 {
00190 }

template<class Parent, class Params>
osg::TypedStoredObjectFunctorBase< Parent, Params >::TypedStoredObjectFunctorBase const TypedStoredObjectFunctorBase< Parent, Params > &  source  )  [inline]
 

Definition at line 194 of file OSGTypedFunctorBase.inl.

00195                                                 : 
00196 
00197     Inherited(source) 
00198 {
00199 }

template<class Parent, class Params>
osg::TypedStoredObjectFunctorBase< Parent, Params >::~TypedStoredObjectFunctorBase void   )  [inline, virtual]
 

Definition at line 203 of file OSGTypedFunctorBase.inl.

00205 {
00206 }


Member Function Documentation

template<class Parent, class Params>
void osg::TypedStoredObjectFunctorBase< Parent, Params >::setMethod ObjMethodF  pFunc  )  [inline]
 

Definition at line 210 of file OSGTypedFunctorBase.inl.

References osg::TypedStoredObjectFunctorBase< Parent, Params >::ObjMethodF.

00211 {
00212     Self::_flags |=  Self::FuncPtrValid;
00213 
00214     *((ObjMethodF *) Self::_data2) = pFunc; 
00215 }

template<class Parent, class Params>
void osg::TypedStoredObjectFunctorBase< Parent, Params >::setCalledObject SetObjectT  pObj  )  [inline]
 

Definition at line 219 of file OSGTypedFunctorBase.inl.

00221 {
00222     Self::_flags |= Self::ObjectValid;
00223 
00224     Params::setCalledObject(reinterpret_cast<Char8 *>(Self::_data1), pObj);
00225 }

template<class Parent, class Params>
void osg::TypedStoredObjectFunctorBase< Parent, Params >::setObjectAndMethod SetObjectT  pObj,
ObjMethodF  pFunc
[inline]
 

Definition at line 229 of file OSGTypedFunctorBase.inl.

References osg::TypedStoredObjectFunctorBase< Parent, Params >::ObjMethodF.

00232 {
00233     Self::_flags |=  Self::FuncPtrValid;
00234     Self::_flags |=  Self::ObjectValid;
00235      
00236     Params::setCalledObject(reinterpret_cast<Char8 *>(Self::_data1), pObj);
00237 
00238     *((ObjMethodF *) Self::_data2) = pFunc; 
00239 }

template<class Parent, class Params>
* void osg::TypedStoredObjectFunctorBase< Parent, Params >::operator= const TypedStoredObjectFunctorBase< Parent, Params > &  source  )  [protected]
 


Member Data Documentation

template<class Parent, class Params>
* typedef Params::ObjMethodF osg::TypedStoredObjectFunctorBase< Parent, Params >::ObjMethodF
 

Definition at line 295 of file OSGTypedFunctorBase.h.

Referenced by osg::TypedStoredObjectFunctorBase< Parent, Params >::setMethod(), and osg::TypedStoredObjectFunctorBase< Parent, Params >::setObjectAndMethod().

template<class Parent, class Params>
* typedef Parent osg::TypedStoredObjectFunctorBase< Parent, Params >::Inherited [private]
 

Reimplemented in osg::TypedStoredObjectFunctor1< RetT, StoredObjectT, ArgsT, SizeTraitsT >, osg::TypedStoredObjectVoidFunctor1< StoredObjectT, ArgsT, SizeTraitsT >, osg::TypedStoredObjectFunctor2< RetT, StoredObjectT, ArgObjectT, ArgsT, SizeTraitsT >, and osg::TypedStoredObjectVoidFunctor2< StoredObjectT, ArgObjectT, ArgsT, SizeTraitsT >.

Definition at line 346 of file OSGTypedFunctorBase.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