Public Member Functions | Private Attributes | List of all members
OpenRTM_aist.Factory.FactoryPython Class Reference

FactoryPython class. More...

Inheritance diagram for OpenRTM_aist.Factory.FactoryPython:
Inheritance graph
[legend]

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
 

Detailed Description

FactoryPython class.

RTComponent factory class for Python.

Definition at line 203 of file Factory.py.

Constructor & Destructor Documentation

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.

Parameters
profileComponent profile
new_funcPointer to component create function
delete_funcPointer to component delete function
policyPointer to component delete function

Definition at line 238 of file Factory.py.

Member Function Documentation

def OpenRTM_aist.Factory.FactoryPython.create (   self,
  mgr 
)

Create component.

Create component implemented in Python.

Parameters
mgr

Definition at line 272 of file Factory.py.

def OpenRTM_aist.Factory.FactoryPython.destroy (   self,
  comp 
)

Destroy component.

Destroy component instance

Parameters
comp

Definition at line 311 of file Factory.py.

Member Data Documentation

OpenRTM_aist.Factory.FactoryPython._Delete
private

Definition at line 248 of file Factory.py.

OpenRTM_aist.Factory.FactoryPython._New
private

Definition at line 246 of file Factory.py.

OpenRTM_aist.Factory.FactoryPython._policy
private

Definition at line 242 of file Factory.py.


The documentation for this class was generated from the following file:


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Jun 6 2019 19:11:36