SOFA API  1c8b807d
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

◆ ~BaseCreator()

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

Function details

◆ createInstance()

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

◆ type()

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