SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::helper::Creator< Factory, RealObject > Class Template Reference

#include <Factory.h>

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

Public Member Functions

 Creator (Key key, bool multi=false)
 
ObjectPtr createInstance (Argument arg)
 
const std::type_info & type ()
 
void registerInFactory ()
 
- Public Member Functions inherited from sofa::helper::BaseCreator< Object, Argument, ObjectPtr >
virtual ~BaseCreator ()
 
virtual ObjectPtr createInstance (Argument arg)=0
 

Constructor details

template<class Factory, class RealObject>
sofa::helper::Creator< Factory, RealObject >::Creator ( Key  key,
bool  multi = false 
)
inlineexplicit

Function details

template<class Factory, class RealObject>
ObjectPtr sofa::helper::Creator< Factory, RealObject >::createInstance ( Argument  arg)
inline
template<class Factory, class RealObject>
void sofa::helper::Creator< Factory, RealObject >::registerInFactory ( )
inline
template<class Factory, class RealObject>
const std::type_info& sofa::helper::Creator< Factory, RealObject >::type ( )
inlinevirtual