OpenRTM-aist-Python 2.0.0
|
公開メンバ関数 | |
def | __init__ (self) |
def | __del__ (self) |
def | exit (self) |
def | put (self) |
基底クラス 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.SharedMemory.SharedMemory に属する継承公開メンバ関数 | |
def | __init__ (self) |
def | __del__ (self) |
def | string_to_MemorySize (self, size_str) |
def | create_memory (self, memory_size, shm_address) |
def | open_memory (self, memory_size, shm_address) |
def | close_memory (self, unlink=False) |
def | write (self, data) |
def | read (self) |
def | setInterface (self, sm) |
def | setEndian (self, endian) |
def | put (self) |
def | get (self) |
その他の継承メンバ | |
基底クラス OpenRTM_aist.DataPortStatus.DataPortStatus に属する継承静的公開変数類 | |
int | PORT_OK = 0 |
brief DataPortStatus リターンコード [詳解] | |
通信手段に 共有メモリ を利用した入力ポートプロバイダーの実装クラス。
def OpenRTM_aist.InPortSHMProvider.InPortSHMProvider.__init__ | ( | self | ) |
コンストラクタ
コンストラクタ Interface Typeにはshared_memoryを指定する 共有メモリの空間名はUUIDで作成し、コネクタプロファイルのdataport.shared_memory.addressに保存する
self
def OpenRTM_aist.InPortSHMProvider.InPortSHMProvider.__del__ | ( | self | ) |
def OpenRTM_aist.InPortSHMProvider.InPortSHMProvider.exit | ( | self | ) |
終了処理
def OpenRTM_aist.InPortSHMProvider.InPortSHMProvider.put | ( | self | ) |
バッファにデータを書き込む
データのサイズは共有メモリも先頭8byteから取得する 共有メモリからデータを取り出しバッファに書き込む
data | 書込対象データ |
::OpenRTM::PortStatus put() throw (CORBA::SystemException);
OpenRTM_aist.SharedMemory.SharedMemoryを再実装しています。