Main Page
Namespaces
Classes
Files
File List
OpenRTM_aist
ECFactory.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
# -*- coding: euc-jp -*-
3
4
16
17
18
import
string
19
20
import
OpenRTM_aist
21
22
23
35
def
ECDelete
(ec):
36
del ec
37
38
39
58
class
ECFactoryBase
:
59
"""
60
"""
61
62
79
def
name
(self):
80
pass
81
82
83
98
def
create
(self):
99
pass
100
101
115
def
destroy
(self, comp):
116
pass
117
118
119
120
132
class
ECFactoryPython(ECFactoryBase):
133
"""
134
"""
135
136
151
def
__init__
(self, name, new_func, delete_func):
152
self.
_name
= name
153
self.
_New
= new_func
154
self.
_Delete
= delete_func
155
156
return
157
158
159
173
def
name
(self):
174
return
self.
_name
175
176
190
def
create
(self):
191
return
self.
_New
()
192
193
206
def
destroy
(self, ec):
207
self.
_Delete
(ec)
208
OpenRTM_aist.ECFactory.ECFactoryBase.name
def name(self)
This method should be implemented in subclasses.
Definition:
ECFactory.py:79
OpenRTM_aist.ECFactory.ECFactoryPython._name
_name
Definition:
ECFactory.py:152
OpenRTM_aist.ECFactory.ECFactoryPython.__init__
def __init__(self, name, new_func, delete_func)
Definition:
ECFactory.py:151
OpenRTM_aist.ECFactory.ECDelete
def ECDelete(ec)
Definition:
ECFactory.py:35
OpenRTM_aist.ECFactory.ECFactoryPython.create
def create(self)
Definition:
ECFactory.py:190
OpenRTM_aist.ECFactory.ECFactoryPython.name
def name(self)
Definition:
ECFactory.py:173
OpenRTM_aist.ECFactory.ECFactoryBase
Definition:
ECFactory.py:58
OpenRTM_aist.ECFactory.ECFactoryPython._Delete
_Delete
Definition:
ECFactory.py:154
OpenRTM_aist.ECFactory.ECFactoryBase.create
def create(self)
Definition:
ECFactory.py:98
OpenRTM_aist.ECFactory.ECFactoryPython.destroy
def destroy(self, ec)
Definition:
ECFactory.py:206
OpenRTM_aist.ECFactory.ECFactoryBase.destroy
def destroy(self, comp)
Definition:
ECFactory.py:115
OpenRTM_aist.ECFactory.ECFactoryPython._New
_New
Definition:
ECFactory.py:153
openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Jun 6 2019 19:11:34