#include <OutPortPullConnector.h>
Public メソッド | |
DATAPORTSTATUS_ENUM | OutPortPullConnector (ConnectorInfo info, OutPortProvider *provider, ConnectorListeners &listeners, CdrBufferBase *buffer=0) |
コンストラクタ | |
virtual | ~OutPortPullConnector () |
デストラクタ | |
virtual ReturnCode | write (const cdrMemoryStream &data) |
データの書き込み | |
virtual ReturnCode | disconnect () |
接続解除 | |
virtual CdrBufferBase * | getBuffer () |
Buffer を取得する | |
virtual void | activate () |
アクティブ化 | |
virtual void | deactivate () |
非アクティブ化 | |
CdrBufferBase * | createBuffer (ConnectorInfo &info) |
Bufferの生成 | |
void | onConnect () |
接続確立時にコールバックを呼ぶ | |
void | onDisconnect () |
接続切断時にコールバックを呼ぶ | |
Protected 変数 | |
OutPortProvider * | m_provider |
OutPortProvider へのポインタ | |
ConnectorListeners & | m_listeners |
ConnectorListenrs への参照 | |
CdrBufferBase * | m_buffer |
Buffer へのポインタ |
OutPort の Pull 型データフローのための Connector
DATAPORTSTATUS_ENUM RTC::OutPortPullConnector::OutPortPullConnector | ( | ConnectorInfo | info, | |
OutPortProvider * | provider, | |||
ConnectorListeners & | listeners, | |||
CdrBufferBase * | buffer = 0 | |||
) |
コンストラクタ
OutPortPullConnector は OutPortProvider の所有権を持つ。 したがって、OutPortPullConnector 削除時には、OutPortProvider も同時に 解体・削除される。
profile | pointer to a ConnectorProfile | |
provider | pointer to an OutPortProvider | |
buffer | pointer to a buffer |
profile | pointer to a ConnectorProfile | |
provider | pointer to an OutPortProvider | |
buffer | pointer to a buffer |
virtual RTC::OutPortPullConnector::~OutPortPullConnector | ( | ) | [virtual] |
デストラクタ
disconnect() が呼ばれ、provider, buffer が解体・削除される。
virtual ReturnCode RTC::OutPortPullConnector::write | ( | const cdrMemoryStream & | data | ) | [virtual] |
virtual ReturnCode RTC::OutPortPullConnector::disconnect | ( | ) | [virtual] |
virtual CdrBufferBase* RTC::OutPortPullConnector::getBuffer | ( | ) | [virtual] |
virtual void RTC::OutPortPullConnector::activate | ( | ) | [inline, virtual] |
virtual void RTC::OutPortPullConnector::deactivate | ( | ) | [inline, virtual] |
CdrBufferBase* RTC::OutPortPullConnector::createBuffer | ( | ConnectorInfo & | info | ) |
Bufferの生成
void RTC::OutPortPullConnector::onConnect | ( | ) |
接続確立時にコールバックを呼ぶ
void RTC::OutPortPullConnector::onDisconnect | ( | ) |
接続切断時にコールバックを呼ぶ
OutPortProvider* RTC::OutPortPullConnector::m_provider [protected] |
OutPortProvider へのポインタ
ConnectorListeners& RTC::OutPortPullConnector::m_listeners [protected] |
ConnectorListenrs への参照
CdrBufferBase* RTC::OutPortPullConnector::m_buffer [protected] |
Buffer へのポインタ