sofa::helper::CreatorFn< Factory, RealObject > Class Template Reference

#include <Factory.h>

Inheritance diagram for sofa::helper::CreatorFn< Factory, RealObject >:

Inheritance graph
[legend]
Collaboration diagram for sofa::helper::CreatorFn< Factory, RealObject >:

Collaboration graph
[legend]

Public Types

typedef Factory::Object Object
typedef Factory::Argument Argument
typedef Factory::Key Key

Public Member Functions

typedef void Fn (RealObject *&obj, Argument arg)
 CreatorFn (Key key, Fn *constructor, bool multi=false)
Object * createInstance (Argument arg)

Data Fields

Fn * constructor

Detailed Description

template<class Factory, class RealObject>
class sofa::helper::CreatorFn< Factory, RealObject >

Definition at line 134 of file Factory.h.


Member Typedef Documentation

template<class Factory , class RealObject >
typedef Factory::Argument sofa::helper::CreatorFn< Factory, RealObject >::Argument

Definition at line 138 of file Factory.h.

template<class Factory , class RealObject >
typedef Factory::Key sofa::helper::CreatorFn< Factory, RealObject >::Key

Definition at line 139 of file Factory.h.

template<class Factory , class RealObject >
typedef Factory::Object sofa::helper::CreatorFn< Factory, RealObject >::Object

Definition at line 137 of file Factory.h.


Constructor & Destructor Documentation

template<class Factory , class RealObject >
sofa::helper::CreatorFn< Factory, RealObject >::CreatorFn ( Key  key,
Fn *  constructor,
bool  multi = false 
) [inline]


Member Function Documentation

template<class Factory , class RealObject >
Object* sofa::helper::CreatorFn< Factory, RealObject >::createInstance ( Argument  arg  )  [inline, virtual]

Implements sofa::helper::BaseCreator< Object, Argument >.

Definition at line 149 of file Factory.h.

template<class Factory , class RealObject >
typedef void sofa::helper::CreatorFn< Factory, RealObject >::Fn ( RealObject *&  obj,
Argument  arg 
)


Field Documentation

template<class Factory , class RealObject >
Fn* sofa::helper::CreatorFn< Factory, RealObject >::constructor

Definition at line 141 of file Factory.h.


The documentation for this class was generated from the following file:

Generated on Sun Nov 23 04:24:15 2008 for Sofa by  doxygen 1.5.7.1