#include <InPortPullConnector.h>
Public Member Functions | |
DATAPORTSTATUS_ENUM | InPortPullConnector (ConnectorInfo info, OutPortConsumer *consumer, ConnectorListeners &listeners, CdrBufferBase *buffer=0) |
Constructor. | |
virtual | ~InPortPullConnector () |
Destructor. | |
virtual ReturnCode | read (cdrMemoryStream &data) |
Destructor. | |
virtual ReturnCode | disconnect () |
Disconnect connection. | |
virtual void | activate () |
Connector activation. | |
virtual void | deactivate () |
Connector deactivation. | |
Protected Member Functions | |
CdrBufferBase * | createBuffer (ConnectorInfo &info) |
create buffer | |
void | onConnect () |
Invoke callback when connection is established. | |
void | onDisconnect () |
Invoke callback when connection is destroied. |
A connector class for pull type dataflow of InPort
DATAPORTSTATUS_ENUM RTC::InPortPullConnector::InPortPullConnector | ( | ConnectorInfo | info, | |
OutPortConsumer * | consumer, | |||
ConnectorListeners & | listeners, | |||
CdrBufferBase * | buffer = 0 | |||
) |
Constructor.
virtual RTC::InPortPullConnector::~InPortPullConnector | ( | ) | [virtual] |
Destructor.
virtual ReturnCode RTC::InPortPullConnector::read | ( | cdrMemoryStream & | data | ) | [virtual] |
virtual ReturnCode RTC::InPortPullConnector::disconnect | ( | ) | [virtual] |
virtual void RTC::InPortPullConnector::activate | ( | ) | [inline, virtual] |
virtual void RTC::InPortPullConnector::deactivate | ( | ) | [inline, virtual] |
CdrBufferBase* RTC::InPortPullConnector::createBuffer | ( | ConnectorInfo & | info | ) | [protected] |
create buffer
void RTC::InPortPullConnector::onConnect | ( | ) | [protected] |
Invoke callback when connection is established.
void RTC::InPortPullConnector::onDisconnect | ( | ) | [protected] |
Invoke callback when connection is destroied.