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.InPortConsumer.InPortConsumer.publishInterfaceProfileFunc
Functor to publish interface profile.
Definition: InPortConsumer.py:55
OpenRTM_aist.InPortConsumer.InPortConsumer
InPortConsumer class.
Definition: InPortConsumer.py:42
OpenRTM_aist.InPortConsumer.InPortConsumer.subscribeInterfaceFunc.__call__
def __call__(self, consumer)
Definition: InPortConsumer.py:74
OpenRTM_aist.InPortConsumer.InPortConsumer.publishInterfaceProfileFunc._prop
_prop
Definition: InPortConsumer.py:57
OpenRTM_aist.InPortConsumer.InPortConsumer.publishInterfaceProfileFunc.__call__
def __call__(self, consumer)
Definition: InPortConsumer.py:59
OpenRTM_aist.InPortConsumer.InPortConsumerFactory.instance
instance
Definition: InPortConsumer.py:99
OpenRTM_aist.InPortConsumer.InPortConsumerFactory.__init__
def __init__(self)
Definition: InPortConsumer.py:82
OpenRTM_aist.InPortConsumer.InPortConsumer.subscribeInterfaceFunc
Functor to publish interface profile.
Definition: InPortConsumer.py:70
OpenRTM_aist.InPortConsumer.InPortConsumer.subscribeInterfaceFunc._prop
_prop
Definition: InPortConsumer.py:72
OpenRTM_aist.DataPortStatus.DataPortStatus
DataPortStatus mixin class.
Definition: DataPortStatus.py:47
OpenRTM_aist.InPortConsumer.InPortConsumer.publishInterfaceProfileFunc.__init__
def __init__(self, prop)
Definition: InPortConsumer.py:56
OpenRTM_aist.InPortConsumer.InPortConsumerFactory.__del__
def __del__(self)
Definition: InPortConsumer.py:87
OpenRTM_aist.InPortConsumer.InPortConsumer.subscribeInterfaceFunc.__init__
def __init__(self, prop)
Definition: InPortConsumer.py:71
OpenRTM_aist.GlobalFactory.Factory
Definition: GlobalFactory.py:23
OpenRTM_aist.InPortConsumer.InPortConsumerFactory
Definition: InPortConsumer.py:80


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Mon Apr 21 2025 02:45:06