Public Member Functions | Private Attributes
InPortBase::OutPortCorbaCdrConsumerMock Class Reference
Inheritance diagram for InPortBase::OutPortCorbaCdrConsumerMock:
Inheritance graph
[legend]

List of all members.

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 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

Loggerm_logger

Detailed Description

Definition at line 504 of file InPortBaseTests.cpp.


Constructor & Destructor Documentation

Definition at line 510 of file InPortBaseTests.cpp.

Definition at line 514 of file InPortBaseTests.cpp.


Member Function Documentation

virtual ReturnCode InPortBase::OutPortCorbaCdrConsumerMock::get ( cdrMemoryStream &  data) [inline, virtual]

Receive data.

Pure virtual function to receive data.

Implements RTC::OutPortConsumer.

Definition at line 586 of file InPortBaseTests.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.

Parameters:
propConfiguration information

Implements RTC::OutPortConsumer.

Definition at line 541 of file InPortBaseTests.cpp.

void InPortBase::OutPortCorbaCdrConsumerMock::publishInterfaceProfile ( SDOPackage::NVList &  properties) [inline]

Definition at line 560 of file InPortBaseTests.cpp.

::OpenRTM::PortStatus InPortBase::OutPortCorbaCdrConsumerMock::put ( const ::OpenRTM::CdrData &  data) throw (CORBA::SystemException) [inline]

Definition at line 532 of file InPortBaseTests.cpp.

Definition at line 552 of file InPortBaseTests.cpp.

void InPortBase::OutPortCorbaCdrConsumerMock::setBuffer ( RTC::BufferBase< cdrMemoryStream > *  buffer) [inline]

Definition at line 521 of file InPortBaseTests.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.

Parameters:
infoConnector information
listenersListener objects

Implements RTC::OutPortConsumer.

Definition at line 591 of file InPortBaseTests.cpp.

Definition at line 602 of file InPortBaseTests.cpp.

bool InPortBase::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.

Parameters:
propertiesProperties for subscription
Returns:
Subscription result (Successful:true, Failed:false)

Implements RTC::OutPortConsumer.

Definition at line 569 of file InPortBaseTests.cpp.

void InPortBase::OutPortCorbaCdrConsumerMock::unsubscribeInterface ( const SDOPackage::NVList &  properties) [inline, virtual]

Unsubscribe the data receive notification.

Pure virtual function to unsubscribe the data receive notification.

Parameters:
propertiesProperties for unsubscription
Returns:
Unsubscription result (Successful:true, Failed:false)

Implements RTC::OutPortConsumer.

Definition at line 579 of file InPortBaseTests.cpp.


Member Data Documentation

Definition at line 607 of file InPortBaseTests.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:19