Public Member Functions | |
virtual ::OpenRTM::PortStatus | get (::OpenRTM::CdrData_out data) |
void | init (coil::Properties &prop) |
Initializing configuration. | |
OutPortCorbaCdrProviderMock (void) | |
bool | publishInterface (SDOPackage::NVList &prop) |
Publish interface information. | |
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 | |
Logger * | m_logger |
Definition at line 692 of file OutPortBaseTests.cpp.
OutPortBase::OutPortCorbaCdrProviderMock::OutPortCorbaCdrProviderMock | ( | void | ) | [inline] |
Definition at line 699 of file OutPortBaseTests.cpp.
virtual OutPortBase::OutPortCorbaCdrProviderMock::~OutPortCorbaCdrProviderMock | ( | void | ) | [inline, virtual] |
Definition at line 704 of file OutPortBaseTests.cpp.
virtual ::OpenRTM::PortStatus OutPortBase::OutPortCorbaCdrProviderMock::get | ( | ::OpenRTM::CdrData_out | data | ) | [inline] |
Definition at line 746 of file OutPortBaseTests.cpp.
void OutPortBase::OutPortCorbaCdrProviderMock::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 |
Reimplemented from RTC::OutPortProvider.
Definition at line 711 of file OutPortBaseTests.cpp.
bool OutPortBase::OutPortCorbaCdrProviderMock::publishInterface | ( | SDOPackage::NVList & | properties | ) | [inline, virtual] |
Publish interface information.
Publish interface information. Check the dataport.interface_type value of the NameValue object specified by an argument in the property information, and add the information to the NameValue if this port is not specified. This does not do anything if the same interface is already subscribed.
properties | Properties to receive interface information |
Reimplemented from RTC::OutPortProvider.
Definition at line 788 of file OutPortBaseTests.cpp.
void OutPortBase::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.
properties | Properties to get InterfaceProfile information |
Reimplemented from RTC::OutPortProvider.
Definition at line 762 of file OutPortBaseTests.cpp.
RTC::InPortConsumer::ReturnCode OutPortBase::OutPortCorbaCdrProviderMock::put | ( | const cdrMemoryStream & | data | ) | [inline] |
Definition at line 754 of file OutPortBaseTests.cpp.
void OutPortBase::OutPortCorbaCdrProviderMock::setBuffer | ( | RTC::CdrBufferBase * | buffer | ) | [inline, virtual] |
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.
buffer | A pointer to a data buffer to be used by OutPortProvider |
Implements RTC::OutPortProvider.
Definition at line 723 of file OutPortBaseTests.cpp.
void OutPortBase::OutPortCorbaCdrProviderMock::setConnector | ( | RTC::OutPortConnector * | connector | ) | [inline, virtual] |
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.
connector | OutPortConnector |
Implements RTC::OutPortProvider.
Definition at line 737 of file OutPortBaseTests.cpp.
void OutPortBase::OutPortCorbaCdrProviderMock::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::OutPortProvider.
Definition at line 731 of file OutPortBaseTests.cpp.
void OutPortBase::OutPortCorbaCdrProviderMock::setLogger | ( | Logger * | logger | ) | [inline] |
Definition at line 797 of file OutPortBaseTests.cpp.
bool OutPortBase::OutPortCorbaCdrProviderMock::subscribeInterface | ( | const SDOPackage::NVList & | properties | ) | [inline] |
Definition at line 771 of file OutPortBaseTests.cpp.
void OutPortBase::OutPortCorbaCdrProviderMock::unsubscribeInterface | ( | const SDOPackage::NVList & | properties | ) | [inline] |
Definition at line 781 of file OutPortBaseTests.cpp.
Definition at line 802 of file OutPortBaseTests.cpp.