Public Member Functions | |
def | __init__ |
def | addFactory |
ReturnCode addFactory(const Identifier& id, Creator creator, Destructor destructor) | |
def | createObject |
AbstractClass* createObject(const Identifier& id) | |
def | deleteObject |
void deleteObject(const Identifier& id, AbstractClass*& obj) | |
def | getIdentifiers |
std::vector<Identifier> getIdentifiers() | |
def | hasFactory |
bool hasFactory(const Identifier& id) | |
def | removeFactory |
ReturnCode removeFactory(const Identifier& id) | |
Static Public Attributes | |
int | ALREADY_EXISTS = 2 |
int | FACTORY_ERROR = 1 |
int | FACTORY_OK = 0 |
int | INVALID_ARG = 4 |
int | NOT_FOUND = 3 |
int | UNKNOWN_ERROR = 5 |
Private Attributes | |
_creators |
Definition at line 23 of file GlobalFactory.py.
def OpenRTM_aist.GlobalFactory.Factory.__init__ | ( | self | ) |
Reimplemented in OpenRTM_aist.SdoServiceProviderBase.SdoServiceProviderFactory, OpenRTM_aist.OutPortProvider.OutPortProviderFactory, OpenRTM_aist.InPortProvider.InPortProviderFactory, OpenRTM_aist.PublisherBase.PublisherFactory, OpenRTM_aist.GlobalFactory.GlobalFactory, OpenRTM_aist.OutPortConsumer.OutPortConsumerFactory, OpenRTM_aist.InPortConsumer.InPortConsumerFactory, OpenRTM_aist.SdoServiceConsumerBase.SdoServiceConsumerFactory, OpenRTM_aist.CdrBufferBase.CdrBufferFactory, and OpenRTM_aist.PeriodicTaskFactory.PeriodicTaskFactory.
Definition at line 33 of file GlobalFactory.py.
def OpenRTM_aist.GlobalFactory.Factory.addFactory | ( | self, | |
id, | |||
creator, | |||
destructor | |||
) |
ReturnCode addFactory(const Identifier& id, Creator creator, Destructor destructor)
Definition at line 57 of file GlobalFactory.py.
def OpenRTM_aist.GlobalFactory.Factory.createObject | ( | self, | |
id | |||
) |
AbstractClass* createObject(const Identifier& id)
Definition at line 78 of file GlobalFactory.py.
def OpenRTM_aist.GlobalFactory.Factory.deleteObject | ( | self, | |
obj, | |||
id = None |
|||
) |
void deleteObject(const Identifier& id, AbstractClass*& obj)
Definition at line 86 of file GlobalFactory.py.
std::vector<Identifier> getIdentifiers()
Definition at line 45 of file GlobalFactory.py.
def OpenRTM_aist.GlobalFactory.Factory.hasFactory | ( | self, | |
id | |||
) |
bool hasFactory(const Identifier& id)
Definition at line 38 of file GlobalFactory.py.
def OpenRTM_aist.GlobalFactory.Factory.removeFactory | ( | self, | |
id | |||
) |
ReturnCode removeFactory(const Identifier& id)
Definition at line 69 of file GlobalFactory.py.
Definition at line 33 of file GlobalFactory.py.
int OpenRTM_aist::GlobalFactory.Factory::ALREADY_EXISTS = 2 [static] |
Definition at line 27 of file GlobalFactory.py.
int OpenRTM_aist::GlobalFactory.Factory::FACTORY_ERROR = 1 [static] |
Definition at line 26 of file GlobalFactory.py.
int OpenRTM_aist::GlobalFactory.Factory::FACTORY_OK = 0 [static] |
Definition at line 25 of file GlobalFactory.py.
int OpenRTM_aist::GlobalFactory.Factory::INVALID_ARG = 4 [static] |
Definition at line 29 of file GlobalFactory.py.
int OpenRTM_aist::GlobalFactory.Factory::NOT_FOUND = 3 [static] |
Definition at line 28 of file GlobalFactory.py.
int OpenRTM_aist::GlobalFactory.Factory::UNKNOWN_ERROR = 5 [static] |
Definition at line 30 of file GlobalFactory.py.