Public Member Functions | |
virtual ReturnCode | get (cdrMemoryStream &data) |
Receive data. | |
void | init (coil::Properties &prop) |
Initializing configuration. | |
OutPortCorbaCdrConsumerMock (void) | |
void | publishInterfaceProfile (SDOPackage::NVList &properties) |
::OpenRTM::PortStatus | put (const ::OpenRTM::CdrData &data) throw (CORBA::SystemException) |
RTC::OutPortConsumer::ReturnCode | put (const cdrMemoryStream &data) |
void | setBuffer (RTC::BufferBase< cdrMemoryStream > *buffer) |
void | setConnector (RTC::OutPortConnector *connector) |
void | setListener (RTC::ConnectorInfo &info, RTC::ConnectorListeners *listeners) |
Set the listener. | |
void | setLogger (Logger *logger) |
bool | subscribeInterface (const SDOPackage::NVList &properties) |
Subscribe the data receive notification. | |
void | unsubscribeInterface (const SDOPackage::NVList &properties) |
Unsubscribe the data receive notification. | |
virtual | ~OutPortCorbaCdrConsumerMock (void) |
Private Attributes | |
Logger * | m_logger |
Definition at line 342 of file InPortTests.cpp.
InPort::OutPortCorbaCdrConsumerMock::OutPortCorbaCdrConsumerMock | ( | void | ) | [inline] |
Definition at line 348 of file InPortTests.cpp.
virtual InPort::OutPortCorbaCdrConsumerMock::~OutPortCorbaCdrConsumerMock | ( | void | ) | [inline, virtual] |
Definition at line 352 of file InPortTests.cpp.
virtual ReturnCode InPort::OutPortCorbaCdrConsumerMock::get | ( | cdrMemoryStream & | data | ) | [inline, virtual] |
Receive data.
Pure virtual function to receive data.
Implements RTC::OutPortConsumer.
Definition at line 435 of file InPortTests.cpp.
void InPort::OutPortCorbaCdrConsumerMock::init | ( | coil::Properties & | prop | ) | [inline, virtual] |
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.
prop | Configuration information |
Implements RTC::OutPortConsumer.
Definition at line 390 of file InPortTests.cpp.
void InPort::OutPortCorbaCdrConsumerMock::publishInterfaceProfile | ( | SDOPackage::NVList & | properties | ) | [inline] |
Definition at line 409 of file InPortTests.cpp.
::OpenRTM::PortStatus InPort::OutPortCorbaCdrConsumerMock::put | ( | const ::OpenRTM::CdrData & | data | ) | throw (CORBA::SystemException) [inline] |
Definition at line 381 of file InPortTests.cpp.
RTC::OutPortConsumer::ReturnCode InPort::OutPortCorbaCdrConsumerMock::put | ( | const cdrMemoryStream & | data | ) | [inline] |
Definition at line 401 of file InPortTests.cpp.
void InPort::OutPortCorbaCdrConsumerMock::setBuffer | ( | RTC::BufferBase< cdrMemoryStream > * | buffer | ) | [inline] |
Definition at line 359 of file InPortTests.cpp.
void InPort::OutPortCorbaCdrConsumerMock::setConnector | ( | RTC::OutPortConnector * | connector | ) | [inline] |
Definition at line 372 of file InPortTests.cpp.
void InPort::OutPortCorbaCdrConsumerMock::setListener | ( | RTC::ConnectorInfo & | info, |
RTC::ConnectorListeners * | listeners | ||
) | [inline, virtual] |
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.
info | Connector information |
listeners | Listener objects |
Implements RTC::OutPortConsumer.
Definition at line 366 of file InPortTests.cpp.
void InPort::OutPortCorbaCdrConsumerMock::setLogger | ( | Logger * | logger | ) | [inline] |
Definition at line 445 of file InPortTests.cpp.
bool InPort::OutPortCorbaCdrConsumerMock::subscribeInterface | ( | const SDOPackage::NVList & | properties | ) | [inline, virtual] |
Subscribe the data receive notification.
Pure virtual function to subscribe the data receive notification based on specified property information.
properties | Properties for subscription |
Implements RTC::OutPortConsumer.
Definition at line 418 of file InPortTests.cpp.
void InPort::OutPortCorbaCdrConsumerMock::unsubscribeInterface | ( | const SDOPackage::NVList & | properties | ) | [inline, virtual] |
Unsubscribe the data receive notification.
Pure virtual function to unsubscribe the data receive notification.
properties | Properties for unsubscription |
Implements RTC::OutPortConsumer.
Definition at line 428 of file InPortTests.cpp.
Definition at line 450 of file InPortTests.cpp.