Public Member Functions | Private Attributes
OutPortPullConnector::OutPortCorbaCdrProviderMock Class Reference
Inheritance diagram for OutPortPullConnector::OutPortCorbaCdrProviderMock:
Inheritance graph

List of all members.

Public Member Functions

virtual ::OpenRTM::PortStatus get (::OpenRTM::CdrData_out data)
void init (coil::Properties &prop)
 Initializing configuration.
 OutPortCorbaCdrProviderMock (void)
void publishInterfaceProfile (SDOPackage::NVList &properties)
 Publish InterfaceProfile information.
RTC::InPortConsumer::ReturnCode put (const cdrMemoryStream &data)
void setBuffer (RTC::CdrBufferBase *buffer)
 Setting outside buffer's pointer.
void setConnector (RTC::OutPortConnector *connector)
 set Connector
void setListener (RTC::ConnectorInfo &info, RTC::ConnectorListeners *listeners)
 Set the listener.
void setLogger (Logger *logger)
bool subscribeInterface (const SDOPackage::NVList &properties)
void unsubscribeInterface (const SDOPackage::NVList &properties)
virtual ~OutPortCorbaCdrProviderMock (void)

Private Attributes


Detailed Description

Definition at line 323 of file OutPortPullConnectorTests.cpp.

Constructor & Destructor Documentation

Definition at line 330 of file OutPortPullConnectorTests.cpp.

Definition at line 334 of file OutPortPullConnectorTests.cpp.

Member Function Documentation

virtual ::OpenRTM::PortStatus OutPortPullConnector::OutPortCorbaCdrProviderMock::get ( ::OpenRTM::CdrData_out  data) [inline]

Definition at line 352 of file OutPortPullConnectorTests.cpp.

Initializing configuration.

This operation would be called to configure in initialization. In the concrete class, configuration should be performed getting appropriate information from the given Properties data. This function might be called right after instantiation and connection sequence respectivly. Therefore, this function should be implemented assuming multiple call.

propConfiguration information

Reimplemented from RTC::OutPortProvider.

Definition at line 341 of file OutPortPullConnectorTests.cpp.

void OutPortPullConnector::OutPortCorbaCdrProviderMock::publishInterfaceProfile ( SDOPackage::NVList &  properties) [inline, virtual]

Publish InterfaceProfile information.

Publish interfaceProfile information. Check the dataport.interface_type value of the NameValue object specified by an argument in property information and get information only when the interface type of the specified port is matched.

propertiesProperties to get InterfaceProfile information

Reimplemented from RTC::OutPortProvider.

Definition at line 368 of file OutPortPullConnectorTests.cpp.

Definition at line 360 of file OutPortPullConnectorTests.cpp.

Setting outside buffer's pointer.

A pointer to a buffer from which OutPortProvider retrieve data. If already buffer is set, previous buffer's pointer will be overwritten by the given pointer to a buffer. Since OutPortProvider does not assume ownership of the buffer pointer, destructor of the buffer should be done by user.

bufferA pointer to a data buffer to be used by OutPortProvider

Implements RTC::OutPortProvider.

Definition at line 401 of file OutPortPullConnectorTests.cpp.

set Connector

OutPort creates OutPortConnector object when it establishes connection between OutPort and InPort, and it calls this function with a pointer to the connector object. Since the OutPort has the ownership of this connector, OutPortProvider should not delete it.


Implements RTC::OutPortProvider.

Definition at line 408 of file OutPortPullConnectorTests.cpp.

Set the listener.

OutPort provides callback functionality that calls specific listener objects according to the events in the data publishing process. For details, see documentation of ConnectorDataListener class and ConnectorListener class in ConnectorListener.h. In the sub-classes of OutPortProvider, the given listeners should be called in the proper timing. However, it is not necessary to call all the listeners.

infoConnector information
listenersListener objects

Implements RTC::OutPortProvider.

Definition at line 405 of file OutPortPullConnectorTests.cpp.

Definition at line 396 of file OutPortPullConnectorTests.cpp.

bool OutPortPullConnector::OutPortCorbaCdrProviderMock::subscribeInterface ( const SDOPackage::NVList &  properties) [inline]

Definition at line 377 of file OutPortPullConnectorTests.cpp.

void OutPortPullConnector::OutPortCorbaCdrProviderMock::unsubscribeInterface ( const SDOPackage::NVList &  properties) [inline]

Definition at line 387 of file OutPortPullConnectorTests.cpp.

Member Data Documentation

Definition at line 413 of file OutPortPullConnectorTests.cpp.

The documentation for this class was generated from the following file:

Author(s): Noriaki Ando
autogenerated on Sat Jun 8 2019 18:49:12