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

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)
 
def create (self, mgr)
 
def destroy (self, comp)
 
- Public Member Functions inherited from OpenRTM_aist.Factory.FactoryBase
def __init__ (self, profile)
 
def create (self, mgr)
 
def destroy (self, comp)
 
def profile (self)
 
def number (self)
 

Detailed Description

FactoryPython class

RTComponent factory class for Python.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from OpenRTM_aist.Factory.FactoryBase.

Member Function Documentation

◆ create()

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

Create component

Create component implemented in Python.

Parameters
mgr

Reimplemented from OpenRTM_aist.Factory.FactoryBase.

◆ destroy()

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

Destroy component

Destroy component instance

Parameters
comp

Reimplemented from OpenRTM_aist.Factory.FactoryBase.


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