InPortConnector 基底クラス. [詳細]
#include <InPortConnector.h>
Public メソッド | |
| DATAPORTSTATUS_ENUM | InPortConnector (ConnectorInfo &info, CdrBufferBase *buffer) |
| コンストラクタ | |
| virtual | ~InPortConnector () |
| デストラクタ | |
| virtual const ConnectorInfo & | profile () |
| ConnectorInfo 取得. | |
| virtual const char * | id () |
| Connector ID 取得. | |
| virtual const char * | name () |
| Connector 名取得. | |
| virtual ReturnCode | disconnect ()=0 |
| 接続解除関数 | |
| virtual CdrBufferBase * | getBuffer () |
| Buffer を取得する. | |
| virtual ReturnCode | read (cdrMemoryStream &data)=0 |
| read 関数 | |
| virtual void | setEndian (const bool endian_type) |
| endianタイプ設定 | |
| virtual bool | isLittleEndian () |
| endian 設定を返す | |
Protected 変数 | |
| Logger | rtclog |
| ロガーストリーム | |
| ConnectorInfo | m_profile |
| ConnectorInfo. | |
| CdrBufferBase * | m_buffer |
| Connector が保持している Buffer. | |
| bool | m_littleEndian |
| 接続エンディアン | |
InPortConnector 基底クラス.
InPort の Push/Pull 各種 Connector を派生させるための基底クラス。
| DATAPORTSTATUS_ENUM RTC::InPortConnector::InPortConnector | ( | ConnectorInfo & | info, | |
| CdrBufferBase * | buffer | |||
| ) |
コンストラクタ
| info | 接続情報を含む ConnectorInfo オブジェクト | |
| buffer | このコネクタのバッファへのポインタ |
| virtual RTC::InPortConnector::~InPortConnector | ( | ) | [virtual] |
デストラクタ
| virtual ReturnCode RTC::InPortConnector::disconnect | ( | ) | [pure virtual] |
接続解除関数
Connector が保持している接続を解除する
RTC::ConnectorBaseを実装しています。
RTC::InPortPullConnector, と RTC::InPortPushConnectorで実装されています。
| virtual CdrBufferBase* RTC::InPortConnector::getBuffer | ( | ) | [virtual] |
| virtual const char* RTC::InPortConnector::id | ( | ) | [virtual] |
| virtual bool RTC::InPortConnector::isLittleEndian | ( | ) | [virtual] |
endian 設定を返す
このコネクタに設定されたエンディアンが little endian かどうか。
| virtual const char* RTC::InPortConnector::name | ( | ) | [virtual] |
| virtual const ConnectorInfo& RTC::InPortConnector::profile | ( | ) | [virtual] |
ConnectorInfo 取得.
Connector ConnectorInfo を取得する
RTC::ConnectorBaseを実装しています。
| virtual ReturnCode RTC::InPortConnector::read | ( | cdrMemoryStream & | data | ) | [pure virtual] |
read 関数
Buffer からデータを InPort へ read する関数
| data | このコネクタから読み出されるデータを格納する変数への参照 |
RTC::InPortPullConnector, と RTC::InPortPushConnectorで実装されています。
| virtual void RTC::InPortConnector::setEndian | ( | const bool | endian_type | ) | [virtual] |
endianタイプ設定
endianタイプを設定する
| endian_type | true: little, false: big |
CdrBufferBase* RTC::InPortConnector::m_buffer [protected] |
Connector が保持している Buffer.
bool RTC::InPortConnector::m_littleEndian [protected] |
接続エンディアン
ConnectorInfo RTC::InPortConnector::m_profile [protected] |
Logger RTC::InPortConnector::rtclog [protected] |
ロガーストリーム
1.6.3