RTC::OutPortPushConnector Class Reference

#include <OutPortPushConnector.h>

Inheritance diagram for RTC::OutPortPushConnector:

RTC::OutPortConnector RTC::ConnectorBase RTC::DataPortStatus

List of all members.

Public Member Functions

DATAPORTSTATUS_ENUM OutPortPushConnector (Profile profile, InPortConsumer *consumer, CdrBufferBase *buffer=0)
virtual ~OutPortPushConnector ()
 Destructor.
virtual ReturnCode write (const cdrMemoryStream &data)
 Writing data.
virtual ReturnCode disconnect ()
 disconnect
virtual void activate ()
 Connector activation.
virtual CdrBufferBasegetBuffer ()
 Getting Buffer.
virtual void deactivate ()
 Connector deactivation.

Protected Member Functions

virtual PublisherBasecreatePublisher (Profile &profile)
 create publisher
virtual CdrBufferBasecreateBuffer (Profile &profile)
 create buffer


Constructor & Destructor Documentation

DATAPORTSTATUS_ENUM RTC::OutPortPushConnector::OutPortPushConnector ( Profile  profile,
InPortConsumer consumer,
CdrBufferBase buffer = 0 
)

virtual RTC::OutPortPushConnector::~OutPortPushConnector (  )  [virtual]

Destructor.

This operation calls disconnect(), which destructs and deletes the consumer, the publisher and the buffer.


Member Function Documentation

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]

Connector activation.

This operation activates this connector

Implements RTC::ConnectorBase.

virtual CdrBufferBase* RTC::OutPortPushConnector::getBuffer (  )  [virtual]

Getting Buffer.

This operation returns this connector's buffer

Implements RTC::OutPortConnector.

virtual void RTC::OutPortPushConnector::deactivate (  )  [virtual]

Connector deactivation.

This operation deactivates this connector

Implements RTC::ConnectorBase.

virtual PublisherBase* RTC::OutPortPushConnector::createPublisher ( Profile &  profile  )  [protected, virtual]

create publisher

virtual CdrBufferBase* RTC::OutPortPushConnector::createBuffer ( Profile &  profile  )  [protected, virtual]

create buffer


Generated on Sun May 24 14:08:45 2009 for OpenRTM by  doxygen 1.5.3