#include <OutPortPushConnector.h>
Public メソッド | |
DATAPORTSTATUS_ENUM | OutPortPushConnector (Profile profile, InPortConsumer *consumer, CdrBufferBase *buffer=0) |
コンストラクタ | |
virtual | ~OutPortPushConnector () |
デストラクタ | |
virtual ReturnCode | write (const cdrMemoryStream &data) |
データの書き込み | |
virtual ReturnCode | disconnect () |
接続解除 | |
virtual void | activate () |
アクティブ化 | |
virtual CdrBufferBase * | getBuffer () |
Buffer を取得する | |
virtual void | deactivate () |
非アクティブ化 | |
Protected メソッド | |
virtual PublisherBase * | createPublisher (Profile &profile) |
Publisherの生成 | |
virtual CdrBufferBase * | createBuffer (Profile &profile) |
Bufferの生成 |
DATAPORTSTATUS_ENUM RTC::OutPortPushConnector::OutPortPushConnector | ( | Profile | profile, | |
InPortConsumer * | consumer, | |||
CdrBufferBase * | buffer = 0 | |||
) |
コンストラクタ
OutPortPushConnector は InPortConsumer の所有権を持つ。 したがって、OutPortPushConnector 削除時には、InPortConsumerも同時に 解体・削除される。
profile | ConnectorProfile | |
consumer | InPortConsumer |
OutPortPushConnector assume ownership of InPortConsumer. Therefore, InPortConsumer will be deleted when OutPortPushConnector is destructed.
profile | ConnectorProfile | |
consumer | InPortConsumer |
virtual RTC::OutPortPushConnector::~OutPortPushConnector | ( | ) | [virtual] |
デストラクタ
disconnect() が呼ばれ、consumer, publisher, buffer が解体・削除される。
virtual ReturnCode RTC::OutPortPushConnector::write | ( | const cdrMemoryStream & | data | ) | [virtual] |
virtual ReturnCode RTC::OutPortPushConnector::disconnect | ( | ) | [virtual] |
virtual void RTC::OutPortPushConnector::activate | ( | ) | [virtual] |
virtual CdrBufferBase* RTC::OutPortPushConnector::getBuffer | ( | ) | [virtual] |
virtual void RTC::OutPortPushConnector::deactivate | ( | ) | [virtual] |
virtual PublisherBase* RTC::OutPortPushConnector::createPublisher | ( | Profile & | profile | ) | [protected, virtual] |
Publisherの生成
virtual CdrBufferBase* RTC::OutPortPushConnector::createBuffer | ( | Profile & | profile | ) | [protected, virtual] |
Bufferの生成