#include <OutPortPushConnector.h>

Public Member Functions | |
| DATAPORTSTATUS_ENUM | OutPortPushConnector (ConnectorInfo info, InPortConsumer *consumer, ConnectorListeners &listeners, CdrBufferBase *buffer=0) |
| virtual | ~OutPortPushConnector () |
| Destructor. | |
| virtual ReturnCode | write (const cdrMemoryStream &data) |
| Writing data. | |
| virtual ReturnCode | disconnect () |
| disconnect | |
| virtual void | activate () |
| Connector activation. | |
| virtual void | deactivate () |
| Connector deactivation. | |
| virtual CdrBufferBase * | getBuffer () |
| Getting Buffer. | |
Protected Member Functions | |
| virtual PublisherBase * | createPublisher (ConnectorInfo &info) |
| create publisher | |
| virtual CdrBufferBase * | createBuffer (ConnectorInfo &info) |
| create buffer | |
| void | onConnect () |
| Invoke callback when connection is established. | |
| void | onDisconnect () |
| Invoke callback when connection is destroied. | |
| DATAPORTSTATUS_ENUM RTC::OutPortPushConnector::OutPortPushConnector | ( | ConnectorInfo | info, | |
| InPortConsumer * | consumer, | |||
| ConnectorListeners & | listeners, | |||
| CdrBufferBase * | buffer = 0 | |||
| ) |
| virtual RTC::OutPortPushConnector::~OutPortPushConnector | ( | ) | [virtual] |
Destructor.
This operation calls disconnect(), which destructs and deletes the consumer, the publisher and the buffer.
| virtual ReturnCode RTC::OutPortPushConnector::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::OutPortPushConnector::disconnect | ( | ) | [virtual] |
disconnect
This operation destruct and delete the consumer, the publisher and the buffer.
Implements RTC::OutPortConnector.
| virtual void RTC::OutPortPushConnector::activate | ( | ) | [virtual] |
| virtual void RTC::OutPortPushConnector::deactivate | ( | ) | [virtual] |
| virtual CdrBufferBase* RTC::OutPortPushConnector::getBuffer | ( | ) | [virtual] |
| virtual PublisherBase* RTC::OutPortPushConnector::createPublisher | ( | ConnectorInfo & | info | ) | [protected, virtual] |
create publisher
| virtual CdrBufferBase* RTC::OutPortPushConnector::createBuffer | ( | ConnectorInfo & | info | ) | [protected, virtual] |
create buffer
| void RTC::OutPortPushConnector::onConnect | ( | ) | [protected] |
Invoke callback when connection is established.
| void RTC::OutPortPushConnector::onDisconnect | ( | ) | [protected] |
Invoke callback when connection is destroied.
1.5.5