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 
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 
def name(self)
This method should be implemented in subclasses.
Definition: ECFactory.py:79
def __init__(self, name, new_func, delete_func)
Definition: ECFactory.py:151


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