SOFA API  73d8bb95
Open source framework for multi-physics simuation
sofa::helper::BaseCreator< Object, Argument, ObjectPtr > Class Template Referenceabstract

#include <Factory.h>

Inheritance diagram for sofa::helper::BaseCreator< Object, Argument, ObjectPtr >:

Public Member Functions

virtual ~BaseCreator ()
 
virtual ObjectPtr createInstance (Argument arg)=0
 
virtual const std::type_info & type ()=0
 

Constructor details

template<class Object , class Argument = NoArgument, class ObjectPtr = Object*>
virtual sofa::helper::BaseCreator< Object, Argument, ObjectPtr >::~BaseCreator ( )
inlinevirtual

Function details

template<class Object , class Argument = NoArgument, class ObjectPtr = Object*>
virtual ObjectPtr sofa::helper::BaseCreator< Object, Argument, ObjectPtr >::createInstance ( Argument  arg)
pure virtual
template<class Object , class Argument = NoArgument, class ObjectPtr = Object*>
virtual const std::type_info& sofa::helper::BaseCreator< Object, Argument, ObjectPtr >::type ( )
pure virtual