OutPortSHMConsumer クラス
[詳解]
#include <OutPortSHMConsumer.h>
OutPortSHMConsumer クラス
OutPortConsumer
通信手段に 共有メモリ を利用した出力ポートプロバイダーの実装クラス。
- から
- 0.4.0
◆ OutPortSHMConsumer()
| RTC::OutPortSHMConsumer::OutPortSHMConsumer |
( |
| ) |
|
◆ ~OutPortSHMConsumer()
| RTC::OutPortSHMConsumer::~OutPortSHMConsumer |
( |
| ) |
|
|
override |
◆ get()
◆ init()
| void RTC::OutPortSHMConsumer::init |
( |
coil::Properties & | prop | ) |
|
|
overridevirtual |
◆ setBuffer()
| void RTC::OutPortSHMConsumer::setBuffer |
( |
CdrBufferBase * | buffer | ) |
|
|
overridevirtual |
◆ setListener()
◆ setObject()
| bool RTC::OutPortSHMConsumer::setObject |
( |
CORBA::Object_ptr | obj | ) |
|
|
overridevirtual |
オブジェクトをセットする
ConsumerBase のオーバーライド。CORBA::Object_var にオブジェクトをセット するとともに、templateパラメータの型で narrow したオブジェクトを メンバ変数に保持する。 _var 型変数を引数に渡す場合は var.in() を渡すこと。
- 引数
-
- 戻り値
- オブジェクト設定結果 設定対象オブジェクトが null の場合は false が返ってくる
RTC::CorbaConsumer< ::OpenRTM::PortSharedMemory >を再実装しています。
◆ subscribeInterface()
| bool RTC::OutPortSHMConsumer::subscribeInterface |
( |
const SDOPackage::NVList & | properties | ) |
|
|
overridevirtual |
データ受信通知への登録
指定されたプロパティに基づいて、データ受信通知の受け取りに登録する。
- 引数
-
- 戻り値
- 登録処理結果(登録成功:true、登録失敗:false)
RTC::OutPortConsumerを実装しています。
◆ unsubscribeInterface()
| void RTC::OutPortSHMConsumer::unsubscribeInterface |
( |
const SDOPackage::NVList & | properties | ) |
|
|
overridevirtual |
◆ m_buffer
◆ m_endian
| bool RTC::OutPortSHMConsumer::m_endian |
|
protected |
◆ m_listeners
◆ m_memory_size
| int RTC::OutPortSHMConsumer::m_memory_size |
|
protected |
◆ m_mutex
| std::mutex RTC::OutPortSHMConsumer::m_mutex |
|
protected |
◆ m_profile
◆ m_properties
| coil::Properties RTC::OutPortSHMConsumer::m_properties |
|
protected |
◆ m_shm_address
| std::string RTC::OutPortSHMConsumer::m_shm_address |
|
protected |
◆ m_shmem
◆ rtclog
| Logger RTC::OutPortSHMConsumer::rtclog |
|
mutableprotected |
このクラス詳解は次のファイルから抽出されました: