#include <OutPortConnector.h>
Public Member Functions | |
DATAPORTSTATUS_ENUM | OutPortConnector (ConnectorBase::Profile &profile) |
Constructor. | |
virtual | ~OutPortConnector () |
Destructor. | |
const Profile & | profile () |
Getting Profile. | |
const char * | id () |
Getting Connector ID. | |
const char * | name () |
Getting Connector name. | |
virtual ReturnCode | disconnect ()=0 |
Disconnect connection. | |
virtual CdrBufferBase * | getBuffer ()=0 |
Getting Buffer. | |
virtual ReturnCode | write (const cdrMemoryStream &data)=0 |
Destructor. | |
Protected Attributes | |
Logger | rtclog |
Profile | m_profile |
The base class to derive subclasses for OutPort's Push/Pull Connectors
DATAPORTSTATUS_ENUM RTC::OutPortConnector::OutPortConnector | ( | ConnectorBase::Profile & | profile | ) |
Constructor.
virtual RTC::OutPortConnector::~OutPortConnector | ( | ) | [virtual] |
Destructor.
const Profile& RTC::OutPortConnector::profile | ( | ) | [virtual] |
const char* RTC::OutPortConnector::id | ( | ) | [virtual] |
const char* RTC::OutPortConnector::name | ( | ) | [virtual] |
virtual ReturnCode RTC::OutPortConnector::disconnect | ( | ) | [pure virtual] |
Disconnect connection.
This operation disconnect this connection
Implements RTC::ConnectorBase.
Implemented in RTC::OutPortPullConnector, and RTC::OutPortPushConnector.
virtual CdrBufferBase* RTC::OutPortConnector::getBuffer | ( | ) | [pure virtual] |
Getting Buffer.
This operation returns this connector's buffer
Implements RTC::ConnectorBase.
Implemented in RTC::OutPortPullConnector, and RTC::OutPortPushConnector.
virtual ReturnCode RTC::OutPortConnector::write | ( | const cdrMemoryStream & | data | ) | [pure virtual] |
Destructor.
The write function to write data from OutPort to Buffer
Implemented in RTC::OutPortPullConnector, and RTC::OutPortPushConnector.
Logger RTC::OutPortConnector::rtclog [protected] |
Profile RTC::OutPortConnector::m_profile [protected] |