OpenRTM-aist-Python 1.1.2
Public Member Functions | List of all members
OpenRTM_aist.Factory.FactoryPython Class Reference

FactoryPython class. More...

Inheritance diagram for OpenRTM_aist.Factory.FactoryPython:
OpenRTM_aist.Factory.FactoryBase

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 profile (self)
 Get component profile. More...
 
def number (self)
 Get number of component instances. More...
 

Detailed Description

FactoryPython class.

RTComponent factory class for Python.

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

Member Function Documentation

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

Create component.

Create component implemented in Python.

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

Destroy component.

Destroy component instance

Parameters
comp

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