OpenRTM_aist
ConnectorBase.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
# -*- coding: euc-jp -*-
3
4
17
18
import
OpenRTM_aist
19
20
21
31
class
ConnectorInfo
:
32
"""
33
"""
34
60
def
__init__
(self, name_, id_, ports_, properties_):
61
self.
name
= name_
# str
62
self.
id
= id_
# str
63
self.
ports
= ports_
# [str,...]
64
self.
properties
= properties_
# OpenRTM_aist.Properties
65
66
#!
67
# @if jp
68
# @class ConnectorBase
69
# @brief Connector 基底クラス
70
#
71
# InPort/OutPort, Push/Pull 各種 Connector を派生させるための # 基底クラス。 # # @since 1.0.0 # # @else # @class ConnectorBase # @brief Connector Base class # # The base class to derive subclasses for InPort/OutPort, # Push/Pull Connectors # # @since 1.0.0 # # @endif class ConnectorBase(OpenRTM_aist.DataPortStatus): """ """ ## # @if jp # @class Profile # @brief Connector profile ローカル構造体 # # ConnectorBase およびその派生クラスで扱う ConnectorProfile 構造体。 # # @since 1.0.0 # # @else # @class Profile # @brief local representation of Connector profile # # ConnectorProfile struct for ConnectorBase and its subclasses. # # @since 1.0.0 # # @endif ## # @if jp # @brief デストラクタ # @else # @brief Destructor # @endif def __del__(self): pass ## # @if jp # @brief Profile 取得 # # Connector Profile を取得する # # @else # @brief Getting Profile # # This operation returns Connector Profile # # @endif # virtual const ConnectorInfo& profile() = 0; def profile(self): pass ## # @if jp # @brief Connector ID 取得 # # Connector ID を取得する # # @else # @brief Getting Connector ID # # This operation returns Connector ID # # @endif # virtual const char* id() = 0; def id(self): pass ## # @if jp # @brief Connector 名取得 # # Connector 名を取得する # # @else # @brief Getting Connector name # # This operation returns Connector name # # @endif # virtual const char* name() = 0; def name(self): pass ## # @if jp # @brief 接続解除関数 # # Connector が保持している接続を解除する # # @else # @brief Disconnect connection # # This operation disconnect this connection # # @endif # virtual ReturnCode disconnect() = 0; def disconnect(self): pass ## # @if jp # @brief Buffer を取得する # # Connector が保持している Buffer を返す # # @else # @brief Getting Buffer # # This operation returns this connector's buffer # # @endif # virtual CdrBufferBase* getBuffer() = 0; def getBuffer(self): pass ## # @if jp # @brief アクティブ化 # # このコネクタをアクティブ化する # # @else # # @brief Connector activation # # This operation activates this connector # # @endif # virtual void activate() = 0; def activate(self): pass ## # @if jp # @brief 非アクティブ化 # # このコネクタを非アクティブ化する # # @else # # @brief Connector deactivation # # This operation deactivates this connector # # @endif # virtual void deactivate() = 0; def deactivate(self): pass
72
# 基底クラス。
73
#
74
# @since 1.0.0
75
#
76
# @else
77
# @class ConnectorBase
78
# @brief Connector Base class
79
#
80
# The base class to derive subclasses for InPort/OutPort,
81
# Push/Pull Connectors
82
#
83
# @since 1.0.0
84
#
85
# @endif
86
class
ConnectorBase
(
OpenRTM_aist.DataPortStatus
):
87
"""
88
"""
89
90
108
109
115
def
__del__
(self):
116
pass
117
118
119
132
def
profile
(self):
133
pass
134
135
148
def
id
(self):
149
pass
150
151
152
165
def
name
(self):
166
pass
167
168
169
182
def
disconnect
(self):
183
pass
184
185
186
199
def
getBuffer
(self):
200
pass
201
202
203
217
def
activate
(self):
218
pass
219
220
221
235
def
deactivate
(self):
236
pass
OpenRTM_aist.ConnectorBase.ConnectorInfo.id
id
Definition:
ConnectorBase.py:62
OpenRTM_aist.ConnectorBase.ConnectorInfo.name
name
Definition:
ConnectorBase.py:61
OpenRTM_aist.ConnectorBase.ConnectorBase.__del__
def __del__(self)
Destructor.
Definition:
ConnectorBase.py:115
OpenRTM_aist.ConnectorBase.ConnectorBase.getBuffer
def getBuffer(self)
Getting Buffer.
Definition:
ConnectorBase.py:199
OpenRTM_aist.ConnectorBase.ConnectorBase.activate
def activate(self)
Connector activation.
Definition:
ConnectorBase.py:217
OpenRTM_aist.ConnectorBase.ConnectorInfo.__init__
def __init__(self, name_, id_, ports_, properties_)
Constructor.
Definition:
ConnectorBase.py:60
OpenRTM_aist.ConnectorBase.ConnectorInfo.ports
ports
Definition:
ConnectorBase.py:63
OpenRTM_aist.DataPortStatus.DataPortStatus
DataPortStatus mixin class.
Definition:
DataPortStatus.py:47
OpenRTM_aist.ConnectorBase.ConnectorBase
Definition:
ConnectorBase.py:86
OpenRTM_aist.ConnectorBase.ConnectorBase.name
def name(self)
Getting Connector name.
Definition:
ConnectorBase.py:165
OpenRTM_aist.ConnectorBase.ConnectorBase.deactivate
def deactivate(self)
Connector deactivation.
Definition:
ConnectorBase.py:235
OpenRTM_aist.ConnectorBase.ConnectorInfo.properties
properties
Definition:
ConnectorBase.py:64
OpenRTM_aist.ConnectorBase.ConnectorBase.profile
def profile(self)
Getting Profile.
Definition:
ConnectorBase.py:132
OpenRTM_aist.ConnectorBase.ConnectorBase.id
def id(self)
Getting Connector ID.
Definition:
ConnectorBase.py:148
OpenRTM_aist.ConnectorBase.ConnectorInfo
Definition:
ConnectorBase.py:31
OpenRTM_aist.ConnectorBase.ConnectorBase.disconnect
def disconnect(self)
Disconnect connection.
Definition:
ConnectorBase.py:182
openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Mon Feb 28 2022 23:01:06