Public Member Functions | |
PublisherPeriodicMock (void) | |
virtual | ~PublisherPeriodicMock (void) |
Public Member Functions inherited from RTC::PublisherPeriodic | |
virtual ReturnCode | activate () |
activation More... | |
virtual ReturnCode | deactivate () |
deactivation More... | |
virtual ReturnCode | init (coil::Properties &prop) |
Initialization. More... | |
virtual bool | isActive () |
If publisher is active state. More... | |
DATAPORTSTATUS_ENUM | PublisherPeriodic (void) |
Constructor. More... | |
virtual ReturnCode | setBuffer (CdrBufferBase *buffer) |
Setting buffer pointer. More... | |
virtual ReturnCode | setConsumer (InPortConsumer *consumer) |
Store InPort consumer. More... | |
virtual ReturnCode | setListener (ConnectorInfo &info, ConnectorListeners *listeners) |
Set the listener. More... | |
virtual int | svc (void) |
Thread execution function. More... | |
virtual ReturnCode | write (const cdrMemoryStream &data, unsigned long sec, unsigned long usec) |
Write data. More... | |
virtual | ~PublisherPeriodic (void) |
Destructor. More... | |
Public Member Functions inherited from RTC::PublisherBase | |
virtual void | release () |
Release the Publisher. More... | |
virtual DATAPORTSTATUS_ENUM | ~PublisherBase (void) |
Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from RTC::PublisherPeriodic | |
typedef coil::Condition< Mutex > | Condition |
typedef coil::Guard< coil::Mutex > | Guard |
typedef coil::Mutex | Mutex |
Public Types inherited from RTC::DataPortStatus | |
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 Public Member Functions inherited from RTC::DataPortStatus | |
static const char * | toString (DataPortStatus::Enum status) |
Convert DataPortStatus into the string. More... | |
Protected Types inherited from RTC::PublisherPeriodic | |
enum | Policy { ALL, FIFO, SKIP, NEW } |
Protected Member Functions inherited from RTC::PublisherPeriodic | |
ReturnCode | convertReturn (BufferStatus::Enum status, const cdrMemoryStream &data) |
Convertion from BufferStatus to DataPortStatus. More... | |
bool | createTask (const coil::Properties &prop) |
Setting Task. More... | |
ReturnCode | invokeListener (DataPortStatus::Enum status, const cdrMemoryStream &data) |
Call listeners according to the DataPortStatus. More... | |
void | onBufferEmpty () |
Notify an ON_BUFFER_EMPTY event to listeners. More... | |
void | onBufferFull (const cdrMemoryStream &data) |
Notify an ON_BUFFER_FULL event to listeners. More... | |
void | onBufferRead (const cdrMemoryStream &data) |
Notify an ON_BUFFER_READ event to listeners. More... | |
void | onBufferWrite (const cdrMemoryStream &data) |
Notify an ON_BUFFER_WRITE event to listeners. More... | |
void | onBufferWriteTimeout (const cdrMemoryStream &data) |
Notify an ON_BUFFER_WRITE_TIMEOUT event to listeners. More... | |
void | onReceived (const cdrMemoryStream &data) |
Notify an ON_RECEIVED event to listeners. More... | |
void | onReceiverError (const cdrMemoryStream &data) |
Notify an ON_RECEIVER_ERROR event to listeners. More... | |
void | onReceiverFull (const cdrMemoryStream &data) |
Notify an ON_RECEIVER_FULL event to listeners. More... | |
void | onReceiverTimeout (const cdrMemoryStream &data) |
Notify an ON_RECEIVER_TIMEOUT event to listeners. More... | |
void | onSend (const cdrMemoryStream &data) |
Notify an ON_SEND event to listners. More... | |
void | onSenderEmpty () |
Notify an ON_SENDER_EMPTY event to listeners. More... | |
void | onSenderError () |
Notify an ON_SENDER_ERROR event to listeners. More... | |
ReturnCode | pushAll () |
push "all" policy More... | |
ReturnCode | pushFifo () |
push "fifo" policy More... | |
ReturnCode | pushNew () |
push "new" policy More... | |
ReturnCode | pushSkip () |
push "skip" policy More... | |
void | setPushPolicy (const coil::Properties &prop) |
Setting PushPolicy. More... | |
Definition at line 86 of file PublisherPeriodicTests.cpp.
|
inline |
Definition at line 90 of file PublisherPeriodicTests.cpp.
|
inlinevirtual |
Definition at line 94 of file PublisherPeriodicTests.cpp.