#include <DataInPort.h>
Public Member Functions | |
template<class DataType, template< class DataType > class Buffer> | |
DataInPort (const char *name, InPort< DataType, Buffer > &inport, Properties &prop) | |
Constructor. | |
virtual | ~DataInPort () |
Destructor. | |
Protected Member Functions | |
virtual ReturnCode_t | publishInterfaces (ConnectorProfile &connector_profile) |
Publish interface information. | |
virtual ReturnCode_t | subscribeInterfaces (const ConnectorProfile &connector_profile) |
Subscribe to the interface. | |
virtual void | unsubscribeInterfaces (const ConnectorProfile &connector_profile) |
Disconnect the interface connection. |
This is an implementation class for the data input port.
RTC::DataInPort::DataInPort | ( | const char * | name, | |
InPort< DataType, Buffer > & | inport, | |||
Properties & | prop | |||
) | [inline] |
virtual RTC::DataInPort::~DataInPort | ( | ) | [virtual] |
Destructor.
Destructor
virtual ReturnCode_t RTC::DataInPort::publishInterfaces | ( | ConnectorProfile & | connector_profile | ) | [protected, virtual] |
Publish interface information.
Publish interface information. Assign the Provider information that owned by this port to ConnectorProfile::properties
connector_profile | The connector profile |
Implements RTC::PortBase.
virtual ReturnCode_t RTC::DataInPort::subscribeInterfaces | ( | const ConnectorProfile & | connector_profile | ) | [protected, virtual] |
Subscribe to the interface.
Subscribe to interface. Derive Provider information that matches Consumer owned by the Port from ConnectorProfile::properties and set the Consumer to the reference of the CORBA object.
connector_profile | The connector profile |
Implements RTC::PortBase.
virtual void RTC::DataInPort::unsubscribeInterfaces | ( | const ConnectorProfile & | connector_profile | ) | [protected, virtual] |
Disconnect the interface connection.
Disconnect the interface connection. Release all objects set in Consumer associated with given ConnectorProfile and unscribe the interface.
connector_profile | The connector profile |
Implements RTC::PortBase.