OpenRTM-aist-Python 1.1.2
|
PortProfile ヘルパークラス [詳解]
クラス | |
class | conn_id |
class | conn_name |
class | if_name |
instance_name を持つ PortInterfaceProfile を探す Functor [詳解] | |
公開メンバ関数 | |
def | setPortProfile (self, profile) |
PortProfile を設定する [詳解] | |
def | getPortProfile (self) |
PortProfile を取得する [詳解] | |
def | setName (self, name) |
PortProfile.name を設定する [詳解] | |
def | getName (self) |
PortProfile.name を取得する [詳解] | |
def | appendPortInterfaceProfile (self, if_prof) |
PortInterfaceProfile を追加する [詳解] | |
def | getPortInterfaceProfiles (self) |
PortInterfaceProfileList を取得する [詳解] | |
def | getPortInterfaceProfile (self, instance_name) |
PortInterfaceProfile を取得する [詳解] | |
def | erasePortInterfaceProfile (self, instance_name) |
PortInterfaceProfile を削除する [詳解] | |
def | setPortRef (self, port) |
Port のオブジェクト参照をセットする [詳解] | |
def | getPortRef (self) |
Port のオブジェクト参照を取得する [詳解] | |
def | appendConnectorProfile (self, conn_profile) |
ConnectorProfile を追加する [詳解] | |
def | getConnectorProfiles (self) |
ConnectorProfileList を取得する [詳解] | |
def | getConnectorProfile (self, name) |
ConnectorProfile を取得する [詳解] | |
def | getConnectorProfileById (self, id) |
ConnectorProfile を取得する [詳解] | |
def | eraseConnectorProfile (self, name) |
ConnectorProfile を削除する [詳解] | |
def | eraseConnectorProfileById (self, id) |
ConnectorProfile を削除する [詳解] | |
def | setOwner (self, owner) |
PortProfile の owner を設定する [詳解] | |
def | getOwner (self) |
PortProfile の owner を取得する [詳解] | |
def | setProperties (self, prop) |
PortProfile の properties を設定する [詳解] | |
def | getProperties (self) |
PortProfile の properties を取得する [詳解] | |
PortProfile ヘルパークラス
RTC::Port の種々のプロファイルを保持する PortProfile を管理するクラス。 主として PortBase の内部で使用される。
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.appendConnectorProfile | ( | self, | |
conn_profile | |||
) |
ConnectorProfile を追加する
このオペレーションは PortProfile に ConnectorProfile を追加する。
conn_profile | ConnectorProfile |
void appendConnectorProfile(ConnectorProfile conn_profile);
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.appendPortInterfaceProfile | ( | self, | |
if_prof | |||
) |
PortInterfaceProfile を追加する
このオペレーションは PortProfile に PortInterfaceProfile を追加する。
if_profile | PortProfile に追加する PortInterfaceProfile |
void appendPortInterfaceProfile(PortInterfaceProfile if_prof);
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.eraseConnectorProfile | ( | self, | |
name | |||
) |
ConnectorProfile を削除する
このオペレーションは PortProfile の ConnectorProfile を 名前で指定して削除する。
naem | ConnectorProfile の名前 |
void eraseConnectorProfile(const char* name);
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.eraseConnectorProfileById | ( | self, | |
id | |||
) |
ConnectorProfile を削除する
このオペレーションは PortProfile の ConnectorProfile を ID で指定して削除する。
id | ConnectorProfile のID |
void eraseConnectorProfileById(const char* id);
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.erasePortInterfaceProfile | ( | self, | |
instance_name | |||
) |
PortInterfaceProfile を削除する
このオペレーションは instance_name で指定された PortInterfaceProfile を削除する。指定した名前の PortInterfaceProfile が存在しない場合には、 NotFound exception を返す。
instance_name | 削除する PortInterfaceProfile の名前 |
void erasePortInterfaceProfile(const char* instance_name);
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getConnectorProfile | ( | self, | |
name | |||
) |
ConnectorProfile を取得する
このオペレーションは引数で指定された名前を持つ ConnectorProfile を返す。
name | ConnectorProfile の名前 |
const ConnectorProfile getConnectorProfile(const char* name) const;
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getConnectorProfileById | ( | self, | |
id | |||
) |
ConnectorProfile を取得する
このオペレーションは引数で指定されたIDを持つ ConnectorProfile を返す。
id | ConnectorProfile のID |
const ConnectorProfile getConnectorProfileById(const char* id) const;
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getConnectorProfiles | ( | self | ) |
ConnectorProfileList を取得する
このオペレーションは PortProfile に関連付けられた ConnectorProfile の リスト ConnectorProfileList を返す。
const ConnectorProfileList getConnectorProfiles() const;
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getName | ( | self | ) |
PortProfile.name を取得する
このオペレーションは PortProfile.name を取得する。
const char* getName() const;
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getOwner | ( | self | ) |
PortProfile の owner を取得する
このオペレーションは PortProfile の owner のオブジェクト参照を返す。
RTObject_ptr getOwner() const;
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getPortInterfaceProfile | ( | self, | |
instance_name | |||
) |
PortInterfaceProfile を取得する
このオペレーションは instance_name で指定された PortInterfaceProfile を返す。
instance_name | PortInterfaceProfile の instance_name |
const PortInterfaceProfile getPortInterfaceProfile(const char* instance_name) const;
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getPortInterfaceProfiles | ( | self | ) |
PortInterfaceProfileList を取得する
このオペレーションは PortInterfaceProfileList を返す。
const PortInterfaceProfileList& getPortInterfaceProfiles() const;
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getPortProfile | ( | self | ) |
PortProfile を取得する
このオブジェクトが保持する PortProfile を返す。
PortProfile* getPortProfile();
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getPortRef | ( | self | ) |
Port のオブジェクト参照を取得する
このオペレーションは PortProfile に関連付けられた Port の オブジェクト参照を返す。
PortService_ptr getPortRef() const;
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.getProperties | ( | self | ) |
PortProfile の properties を取得する
このオペレーションは PortProfile の propertiesを返す。
const NVList& getProperties() const;
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.setName | ( | self, | |
name | |||
) |
PortProfile.name を設定する
このオペレーションは引数で与えられた文字列をコポーし、 PortProfile.name として保持する。
name | PortProfile.name に格納する Port の名前 |
void setName(const char* name);
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.setOwner | ( | self, | |
owner | |||
) |
PortProfile の owner を設定する
このオペレーションは PortProfile の owner を設定する。
owner | PortProfile の owner のオブジェクト参照 |
void setOwner(RTObject_ptr owner);
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.setPortProfile | ( | self, | |
profile | |||
) |
PortProfile を設定する
このオブジェクトが保持する PortProfile を引数で与えられた PortProfile をコピーし上書きして保存する。
PortProfile | 上書きする PortProfile |
void setPortProfile(const PortProfile& profile);
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.setPortRef | ( | self, | |
port | |||
) |
Port のオブジェクト参照をセットする
このオペレーションは PortProfile に、関連する Port のオブジェクト参照 を設定する。
port | 設定する Port のオブジェクトリファレンス |
void setPortRef(PortService_ptr port);
def OpenRTM_aist.PortProfileHelper.PortProfileHelper.setProperties | ( | self, | |
prop | |||
) |
PortProfile の properties を設定する
このオペレーションは PortProfile に properties を設定する。
prop | PortProfile の properties の NVList |
void setProperties(NVList& prop);