#include <OutPortPullConnector.h>
Public Member Functions | |
DATAPORTSTATUS_ENUM | OutPortPullConnector (Profile profile, OutPortProvider *provider, CdrBufferBase *buffer=0) |
virtual | ~OutPortPullConnector () |
Destructor. | |
virtual ReturnCode | write (const cdrMemoryStream &data) |
Writing data. | |
virtual ReturnCode | disconnect () |
disconnect | |
virtual CdrBufferBase * | getBuffer () |
Getting Buffer. | |
virtual void | activate () |
Connector activation. | |
virtual void | deactivate () |
Connector deactivation. | |
Protected Attributes | |
OutPortProvider * | m_provider |
the pointer to the OutPortProvider | |
CdrBufferBase * | m_buffer |
the pointer to the buffer |
DATAPORTSTATUS_ENUM RTC::OutPortPullConnector::OutPortPullConnector | ( | Profile | profile, | |
OutPortProvider * | provider, | |||
CdrBufferBase * | buffer = 0 | |||
) |
virtual RTC::OutPortPullConnector::~OutPortPullConnector | ( | ) | [virtual] |
Destructor.
This operation calls disconnect(), which destructs and deletes the consumer, the publisher and the buffer.
virtual ReturnCode RTC::OutPortPullConnector::write | ( | const cdrMemoryStream & | data | ) | [virtual] |
Writing data.
This operation writes data into publisher and then the data will be transferred to correspondent InPort.
Implements RTC::OutPortConnector.
virtual ReturnCode RTC::OutPortPullConnector::disconnect | ( | ) | [virtual] |
disconnect
This operation destruct and delete the consumer, the publisher and the buffer.
Implements RTC::OutPortConnector.
virtual CdrBufferBase* RTC::OutPortPullConnector::getBuffer | ( | ) | [virtual] |
virtual void RTC::OutPortPullConnector::activate | ( | ) | [inline, virtual] |
virtual void RTC::OutPortPullConnector::deactivate | ( | ) | [inline, virtual] |
OutPortProvider* RTC::OutPortPullConnector::m_provider [protected] |
the pointer to the OutPortProvider
CdrBufferBase* RTC::OutPortPullConnector::m_buffer [protected] |
the pointer to the buffer