FactoryPython class. More...
Public Member Functions | |
def | __init__ (self, profile, new_func, delete_func, policy=None) |
Constructor. More... | |
def | create (self, mgr) |
Create component. More... | |
def | destroy (self, comp) |
Destroy component. More... | |
Public Member Functions inherited from OpenRTM_aist.Factory.FactoryBase | |
def | __init__ (self, profile) |
Constructor. More... | |
def | create (self, mgr) |
Create component. More... | |
def | destroy (self, comp) |
Destroy component. More... | |
def | number (self) |
Get number of component instances. More... | |
def | profile (self) |
Get component profile. More... | |
Private Attributes | |
_Delete | |
_New | |
_policy | |
FactoryPython class.
RTComponent factory class for Python.
Definition at line 203 of file Factory.py.
def OpenRTM_aist.Factory.FactoryPython.__init__ | ( | self, | |
profile, | |||
new_func, | |||
delete_func, | |||
policy = None |
|||
) |
Constructor.
Constructor. Create component factory class with three arguments: component profile, function pointer to object create function and object delete function.
profile | Component profile |
new_func | Pointer to component create function |
delete_func | Pointer to component delete function |
policy | Pointer to component delete function |
Definition at line 238 of file Factory.py.
def OpenRTM_aist.Factory.FactoryPython.create | ( | self, | |
mgr | |||
) |
Create component.
Create component implemented in Python.
mgr |
Definition at line 272 of file Factory.py.
def OpenRTM_aist.Factory.FactoryPython.destroy | ( | self, | |
comp | |||
) |
Destroy component.
Destroy component instance
comp |
Definition at line 311 of file Factory.py.
|
private |
Definition at line 248 of file Factory.py.
|
private |
Definition at line 246 of file Factory.py.
|
private |
Definition at line 242 of file Factory.py.