OpenRTM-aist-Python 1.2.1
|
公開メンバ関数 | |
def | __init__ (self) |
コンストラクタ 共有メモリの空間名はUUIDで作成し、コネクタプロファイルのdataport.shared_memory.addressに保存する [詳解] | |
def | __del__ (self) |
デストラクタ [詳解] | |
def | exit (self) |
終了処理 [詳解] | |
def | get (self) |
バッファからデータを取得する [詳解] | |
基底クラス OpenRTM_aist.OutPortProvider.OutPortProvider に属する継承公開メンバ関数 | |
def | __init__ (self) |
コンストラクタ [詳解] | |
def | exit (self) |
終了処理 [詳解] | |
def | publishInterfaceProfile (self, prop) |
InterfaceProfile情報を公開する [詳解] | |
def | publishInterface (self, prop) |
Interface情報を公開する [詳解] | |
def | setPortType (self, port_type) |
ポートタイプを設定する [詳解] | |
def | setDataType (self, data_type) |
データタイプを設定する [詳解] | |
def | setInterfaceType (self, interface_type) |
インターフェースタイプを設定する [詳解] | |
def | setDataFlowType (self, dataflow_type) |
データフロータイプを設定する [詳解] | |
def | setSubscriptionType (self, subs_type) |
サブスクリプションタイプを設定する [詳解] | |
基底クラス OpenRTM_aist.DataPortStatus.DataPortStatus に属する継承公開メンバ関数 | |
def | toString (status) |
DataPortStatus リターンコードを文字列に変換 [詳解] | |
基底クラス OpenRTM_aist.SharedMemory.SharedMemory に属する継承公開メンバ関数 | |
def | __init__ (self) |
コンストラクタ [詳解] | |
def | __del__ (self) |
デストラクタ [詳解] | |
def | string_to_MemorySize (self, size_str) |
文字列で指定したデータサイズを数値に変換する 1M → 1048576 1k → 1024 100 → 100 [詳解] | |
def | create_memory (self, memory_size, shm_address) |
共有メモリの初期化 windowsではページングファイル上に領域を確保する Linuxでは/dev/shm以下にファイルを作成する 作成したファイルの内容を仮想アドレスにマッピングする [詳解] | |
def | open_memory (self, memory_size, shm_address) |
共有メモリのマッピングを行う [詳解] | |
def | close_memory (self, unlink=False) |
マッピングした共有メモリをアンマップする [詳解] | |
def | write (self, data) |
データを書き込む 先頭8byteにデータサイズを書き込み、その後ろにデータを書き込む 設定したデータサイズが共有メモリのサイズを上回った場合、共有メモリの初期化を行う [詳解] | |
def | read (self) |
データを読み込む [詳解] | |
def | setInterface (self, sm) |
通信先のCORBAインターフェースを登録する 登録する事により共有メモリの初期化したときに、通信先でもマッピングをやり直すことができる [詳解] | |
def | setEndian (self, endian) |
エンディアンを設定する [詳解] | |
def | put (self) |
データの送信を知らせる [詳解] | |
def | get (self) |
データの送信を要求する [詳解] | |
その他の継承メンバ | |
基底クラス OpenRTM_aist.DataPortStatus.DataPortStatus に属する継承静的公開変数類 | |
int | PORT_OK = 0 |
brief DataPortStatus リターンコード [詳解] | |
def OpenRTM_aist.OutPortSHMProvider.OutPortSHMProvider.__init__ | ( | self | ) |
コンストラクタ 共有メモリの空間名はUUIDで作成し、コネクタプロファイルのdataport.shared_memory.addressに保存する
コンストラクタ
def OpenRTM_aist.OutPortSHMProvider.OutPortSHMProvider.__del__ | ( | self | ) |
デストラクタ
デストラクタ
def OpenRTM_aist.OutPortSHMProvider.OutPortSHMProvider.exit | ( | self | ) |
終了処理
def OpenRTM_aist.OutPortSHMProvider.OutPortSHMProvider.get | ( | self | ) |
バッファからデータを取得する
virtual ::OpenRTM::PortStatus get(::OpenRTM::CdrData_out data);