#include <ObjectFactory.h>

Public Member Functions | |
| virtual | ~Creator () |
| virtual bool | canCreate (objectmodel::BaseContext *context, objectmodel::BaseObjectDescription *arg)=0 |
| Pre-construction check. | |
| virtual objectmodel::BaseObject * | createInstance (objectmodel::BaseContext *context, objectmodel::BaseObjectDescription *arg)=0 |
| Construction method called by the factory. | |
| virtual const std::type_info & | type ()=0 |
| type_info structure associated with the type of intanciated objects. | |
Definition at line 79 of file ObjectFactory.h.
| virtual sofa::core::ObjectFactory::Creator::~Creator | ( | ) | [inline, virtual] |
Definition at line 82 of file ObjectFactory.h.
| virtual bool sofa::core::ObjectFactory::Creator::canCreate | ( | objectmodel::BaseContext * | context, | |
| objectmodel::BaseObjectDescription * | arg | |||
| ) | [pure virtual] |
Pre-construction check.
Implemented in sofa::core::ObjectCreator< RealObject >.
Referenced by sofa::gui::qt::GraphModeler::addComponent(), and sofa::core::ObjectFactory::createObject().
| virtual objectmodel::BaseObject* sofa::core::ObjectFactory::Creator::createInstance | ( | objectmodel::BaseContext * | context, | |
| objectmodel::BaseObjectDescription * | arg | |||
| ) | [pure virtual] |
Construction method called by the factory.
Implemented in sofa::core::ObjectCreator< RealObject >.
Referenced by sofa::gui::qt::GraphModeler::addComponent(), and projects::generateFactoryPHPDoc().
| virtual const std::type_info& sofa::core::ObjectFactory::Creator::type | ( | ) | [pure virtual] |
type_info structure associated with the type of intanciated objects.
Implemented in sofa::core::ObjectCreator< RealObject >.
1.5.7.1