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