構成 | |
class | publishInterfaceProfileFunc |
インターフェースプロファイルを公開するたのファンクタ [詳細] | |
Public メソッド | |
def | __init__ |
コンストラクタ | |
def | publishInterfaceProfile |
InterfaceProfile情報を公開する. | |
def | publishInterface |
Interface情報を公開する. | |
def | setPortType |
ポートタイプを設定する | |
def | setDataType |
データタイプを設定する | |
def | setInterfaceType |
インターフェースタイプを設定する | |
def | setDataFlowType |
データフロータイプを設定する | |
def | setSubscriptionType |
サブスクリプションタイプを設定する |
(例) OutPort を Provide する場合
OutPortCorbaProvider が以下を宣言
def OpenRTM_aist.OutPortProvider.OutPortProvider.__init__ | ( | self | ) |
コンストラクタ
コンストラクタ
self |
OpenRTM_aist.DataPortStatus.DataPortStatusを再定義しています。
OpenRTM_aist.OutPortCorbaCdrProvider.OutPortCorbaCdrProviderで再定義されています。
def OpenRTM_aist.OutPortProvider.OutPortProvider.publishInterface | ( | self, | ||
prop | ||||
) |
Interface情報を公開する.
Interface情報を公開する。 引数で指定するプロパティ情報内の NameValue オブジェクトの dataport.interface_type 値を調べ、当該ポートに設定されていなければ NameValue に情報を追加する。 すでに同一インターフェースが登録済みの場合は何も行わない。
self | ||
prop | InterfaceProfile情報を受け取るプロパティ |
virtual bool publishInterface(SDOPackage.NVList& properties);
def OpenRTM_aist.OutPortProvider.OutPortProvider.publishInterfaceProfile | ( | self, | ||
prop | ||||
) |
InterfaceProfile情報を公開する.
InterfaceProfile情報を公開する。 引数で指定するプロパティ情報内の NameValue オブジェクトの dataport.interface_type 値を調べ、当該ポートに設定されている インターフェースタイプと一致する場合のみ情報を取得する。
self | ||
prop | InterfaceProfile情報を受け取るプロパティ |
virtual void publishInterfaceProfile(SDOPackage.NVList& properties);
def OpenRTM_aist.OutPortProvider.OutPortProvider.setDataFlowType | ( | self, | ||
dataflow_type | ||||
) |
データフロータイプを設定する
引数で指定したデータフロータイプを設定する。
self | ||
dataflow_type | 設定対象データフロータイプ |
def OpenRTM_aist.OutPortProvider.OutPortProvider.setDataType | ( | self, | ||
data_type | ||||
) |
データタイプを設定する
引数で指定したデータタイプを設定する。
self | ||
data_type | 設定対象データタイプ |
def OpenRTM_aist.OutPortProvider.OutPortProvider.setInterfaceType | ( | self, | ||
interface_type | ||||
) |
インターフェースタイプを設定する
引数で指定したインターフェースタイプを設定する。
self | ||
interface_type | 設定対象インターフェースタイプ |
def OpenRTM_aist.OutPortProvider.OutPortProvider.setPortType | ( | self, | ||
port_type | ||||
) |
ポートタイプを設定する
引数で指定したポートタイプを設定する。
self | ||
port_type | 設定対象ポートタイプ |
def OpenRTM_aist.OutPortProvider.OutPortProvider.setSubscriptionType | ( | self, | ||
subs_type | ||||
) |
サブスクリプションタイプを設定する
引数で指定したサブスクリプションタイプを設定する。
self | ||
subs_type | 設定対象サブスクリプションタイプ |