|
enum | Enum {
PORT_OK = 0,
PORT_ERROR,
BUFFER_ERROR,
BUFFER_FULL,
BUFFER_EMPTY,
BUFFER_TIMEOUT,
SEND_FULL,
SEND_TIMEOUT,
RECV_EMPTY,
RECV_TIMEOUT,
INVALID_ARGS,
PRECONDITION_NOT_MET,
CONNECTION_LOST,
UNKNOWN_ERROR
} |
| DataPortStatus return codes. More...
|
|
static const char * | toString (DataPortStatus::Enum status) |
| Convert DataPortStatus into the string. More...
|
|
void | setDataFlowType (const char *dataflow_type) |
| Set the dataflow type. More...
|
|
void | setInterfaceType (const char *interface_type) |
| Set the interface type. More...
|
|
void | setSubscriptionType (const char *subs_type) |
| Set the subscription type. More...
|
|
SDOPackage::NVList | m_properties |
| Properties to hold port profile. More...
|
|
Logger | rtclog |
| Logger stream. More...
|
|
Definition at line 201 of file InPortTests.cpp.
◆ InPortCorbaCdrProviderMock()
InPort::InPortCorbaCdrProviderMock::InPortCorbaCdrProviderMock |
( |
void |
| ) |
|
|
inline |
◆ ~InPortCorbaCdrProviderMock()
virtual InPort::InPortCorbaCdrProviderMock::~InPortCorbaCdrProviderMock |
( |
void |
| ) |
|
|
inlinevirtual |
◆ init()
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
-
prop | Configuration information |
Implements RTC::InPortProvider.
Definition at line 277 of file InPortTests.cpp.
◆ publishInterfaceProfile()
void InPort::InPortCorbaCdrProviderMock::publishInterfaceProfile |
( |
SDOPackage::NVList & |
properties | ) |
|
|
inlinevirtual |
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.
- Parameters
-
properties | Properties to get InterfaceProfile information |
Reimplemented from RTC::InPortProvider.
Definition at line 296 of file InPortTests.cpp.
◆ put() [1/2]
::OpenRTM::PortStatus InPort::InPortCorbaCdrProviderMock::put |
( |
const ::OpenRTM::CdrData & |
data | ) |
|
throw | ( | CORBA::SystemException |
| ) | | |
|
inline |
◆ put() [2/2]
◆ setBuffer()
void InPort::InPortCorbaCdrProviderMock::setBuffer |
( |
RTC::BufferBase< cdrMemoryStream > * |
buffer | ) |
|
|
inlinevirtual |
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.
- Parameters
-
Implements RTC::InPortProvider.
Definition at line 246 of file InPortTests.cpp.
◆ setConnector()
◆ setListener()
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
-
info | Connector information |
listeners | Listener objects |
Implements RTC::InPortProvider.
Definition at line 254 of file InPortTests.cpp.
◆ setLogger()
void InPort::InPortCorbaCdrProviderMock::setLogger |
( |
Logger * |
logger | ) |
|
|
inline |
◆ subscribeInterface()
bool InPort::InPortCorbaCdrProviderMock::subscribeInterface |
( |
const SDOPackage::NVList & |
properties | ) |
|
|
inline |
◆ unsubscribeInterface()
void InPort::InPortCorbaCdrProviderMock::unsubscribeInterface |
( |
const SDOPackage::NVList & |
properties | ) |
|
|
inline |
◆ m_logger
Logger* InPort::InPortCorbaCdrProviderMock::m_logger |
|
private |
◆ m_objref
::OpenRTM::InPortCdr_var InPort::InPortCorbaCdrProviderMock::m_objref |
|
private |
The documentation for this class was generated from the following file: