#include <ObjectFactory.h>

Abstract interface used to create instances (object) of a given type See the derived class ObjectCreator.
Public Member Functions | |
| virtual | ~BaseObjectCreator ()=default |
| virtual bool | canCreate (objectmodel::BaseContext *context, objectmodel::BaseObjectDescription *arg)=0 |
| virtual objectmodel::BaseComponent::SPtr | createInstance (objectmodel::BaseContext *context, objectmodel::BaseObjectDescription *arg)=0 |
| virtual const std::type_info & | type ()=0 |
| type_info structure associated with the type of instantiated objects. More... | |
| virtual const objectmodel::BaseClass * | getClass ()=0 |
| BaseClass structure associated with the type of instantiated objects. More... | |
| virtual const char * | getTarget ()=0 |
| The name of the library or executable containing the binary code for this component. More... | |
| virtual const char * | getHeaderFileLocation ()=0 |
|
virtualdefault |
|
pure virtual |
Pre-construction check.
Implemented in sofa::core::ObjectCreator< RealObject >.
|
pure virtual |
Construction method called by the factory.
Implemented in sofa::core::ObjectCreator< RealObject >.
|
pure virtual |
BaseClass structure associated with the type of instantiated objects.
Implemented in sofa::core::ObjectCreator< RealObject >.
|
pure virtual |
Implemented in sofa::core::ObjectCreator< RealObject >.
|
pure virtual |
The name of the library or executable containing the binary code for this component.
Implemented in sofa::core::ObjectCreator< RealObject >.
|
pure virtual |
type_info structure associated with the type of instantiated objects.
Implemented in sofa::core::ObjectCreator< RealObject >.