OpenRTM-aist-Python 2.0.2
OpenRTM_aist.OutPortSHMProvider.OutPortSHMProvider クラス

[詳解]

OpenRTM_aist.OutPortSHMProvider.OutPortSHMProvider の継承関係図
OpenRTM_aist.OutPortProvider.OutPortProvider OpenRTM_aist.SharedMemory.SharedMemory OpenRTM_aist.DataPortStatus.DataPortStatus

公開メンバ関数

 __init__ (self)
 
 __del__ (self)
 
 exit (self)
 
 get (self)
 
- 基底クラス OpenRTM_aist.OutPortProvider.OutPortProvider に属する継承公開メンバ関数
 publishInterfaceProfile (self, prop)
 
 publishInterface (self, prop)
 
 setPortType (self, port_type)
 
 setDataType (self, data_type)
 
 setInterfaceType (self, interface_type)
 
 setDataFlowType (self, dataflow_type)
 
 setSubscriptionType (self, subs_type)
 
- 基底クラス OpenRTM_aist.DataPortStatus.DataPortStatus に属する継承公開メンバ関数
 toString (status)
 
- 基底クラス OpenRTM_aist.SharedMemory.SharedMemory に属する継承公開メンバ関数
 string_to_MemorySize (self, size_str)
 
 create_memory (self, memory_size, shm_address)
 
 open_memory (self, memory_size, shm_address)
 
 close_memory (self, unlink=False)
 
 write (self, data)
 
 read (self)
 
 setInterface (self, sm)
 
 setEndian (self, endian)
 
 put (self)
 

その他の継承メンバ

- 基底クラス OpenRTM_aist.DataPortStatus.DataPortStatus に属する継承静的公開変数類
int PORT_OK = 0
 brief DataPortStatus リターンコード
 

詳解

OutPortSHMProvider クラス

OutPortProvider

通信手段に 共有メモリ を利用した出力ポートプロバイダの実装クラス。

構築子と解体子

◆ __init__()

OpenRTM_aist.OutPortSHMProvider.OutPortSHMProvider.__init__ ( self)

コンストラクタ 共有メモリの空間名はUUIDで作成し、コネクタプロファイルのdataport.shared_memory.addressに保存する

コンストラクタ

OpenRTM_aist.OutPortProvider.OutPortProviderを再実装しています。

◆ __del__()

OpenRTM_aist.OutPortSHMProvider.OutPortSHMProvider.__del__ ( self)

デストラクタ

デストラクタ

OpenRTM_aist.SharedMemory.SharedMemoryを再実装しています。

メソッド詳解

◆ exit()

OpenRTM_aist.OutPortSHMProvider.OutPortSHMProvider.exit ( self)

終了処理

OpenRTM_aist.OutPortProvider.OutPortProviderを再実装しています。

◆ get()

OpenRTM_aist.OutPortSHMProvider.OutPortSHMProvider.get ( self)

バッファからデータを取得する

戻り値
(リターンコード、取得データ)

virtual OpenRTM.PortStatus get(.OpenRTM.CdrData_out data);

OpenRTM_aist.SharedMemory.SharedMemoryを再実装しています。


このクラス詳解は次のファイルから抽出されました: