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 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

◆ __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

Definition at line 238 of file Factory.py.

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.

Definition at line 272 of file Factory.py.

◆ destroy()

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

Destroy component.

Destroy component instance

Parameters
comp

Reimplemented from OpenRTM_aist.Factory.FactoryBase.

Definition at line 311 of file Factory.py.

Member Data Documentation

◆ _Delete

OpenRTM_aist.Factory.FactoryPython._Delete
private

Definition at line 248 of file Factory.py.

◆ _New

OpenRTM_aist.Factory.FactoryPython._New
private

Definition at line 246 of file Factory.py.

◆ _policy

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 Mon Apr 21 2025 02:45:07