OpenRTM-aist-Python 2.0.0
|
公開メンバ関数 | |
def | __init__ (self) |
def | __del__ (self) |
def | exit (self) |
def | put (self, data) |
def | is_writable (self, retry) |
基底クラス OpenRTM_aist.InPortProvider.InPortProvider に属する継承公開メンバ関数 | |
def | __init__ (self) |
def | exit (self) |
def | publishInterfaceProfile (self, prop) |
def | publishInterface (self, prop) |
def | setInterfaceType (self, interface_type) |
def | setDataFlowType (self, dataflow_type) |
def | setSubscriptionType (self, subs_type) |
基底クラス OpenRTM_aist.DataPortStatus.DataPortStatus に属する継承公開メンバ関数 | |
def | toString (status) |
その他の継承メンバ | |
基底クラス OpenRTM_aist.DataPortStatus.DataPortStatus に属する継承静的公開変数類 | |
int | PORT_OK = 0 |
brief DataPortStatus リターンコード [詳解] | |
CSPモデルのチャネルを模擬した入力ポートプロバイダーの実装クラス。
def OpenRTM_aist.InPortCSPProvider.InPortCSPProvider.__init__ | ( | self | ) |
コンストラクタ
コンストラクタ Interface Typeにはshared_memoryを指定する 共有メモリの空間名はUUIDで作成し、コネクタプロファイルのdataport.shared_memory.addressに保存する
self
def OpenRTM_aist.InPortCSPProvider.InPortCSPProvider.__del__ | ( | self | ) |
デストラクタ
デストラクタ
self |
def OpenRTM_aist.InPortCSPProvider.InPortCSPProvider.exit | ( | self | ) |
終了処理
def OpenRTM_aist.InPortCSPProvider.InPortCSPProvider.is_writable | ( | self, | |
retry | |||
) |
データ書き込み可能かを確認
self | |
retry | True:再検索、False:通常の書き込み確認 |
def OpenRTM_aist.InPortCSPProvider.InPortCSPProvider.put | ( | self, | |
data | |||
) |
バッファにデータを書き込む
データのサイズは共有メモリも先頭8byteから取得する 共有メモリからデータを取り出しバッファに書き込む
data | 書込対象データ |
::OpenRTM::PortStatus put() throw (CORBA::SystemException);