InPortConsumer.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # -*- coding: euc-jp -*-
3 
4 
5 
18 
19 
20 import OpenRTM_aist
21 
22 
43  """
44  """
45 
46 
47 
48 
56  def __init__(self, prop):
57  self._prop = prop
58 
59  def __call__(self, consumer):
60  consumer.publishInterfaceProfile(self._prop)
61 
62 
63 
71  def __init__(self, prop):
72  self._prop = prop
73 
74  def __call__(self, consumer):
75  return consumer.subscribeInterface(self._prop)
76 
77 
78 inportconsumerfactory = None
79 
81 
82  def __init__(self):
83  OpenRTM_aist.Factory.__init__(self)
84  pass
85 
86 
87  def __del__(self):
88  pass
89 
90 
91  def instance():
92  global inportconsumerfactory
93 
94  if inportconsumerfactory is None:
95  inportconsumerfactory = InPortConsumerFactory()
96 
97  return inportconsumerfactory
98 
99  instance = staticmethod(instance)
100 


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