Public Member Functions | List of all members
PublisherNew::PublisherNewMock Class Reference
Inheritance diagram for PublisherNew::PublisherNewMock:
Inheritance graph
[legend]

Public Member Functions

 PublisherNewMock (void)
 
virtual ~PublisherNewMock (void)
 
- Public Member Functions inherited from RTC::PublisherNew
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 PublisherNew ()
 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 ~PublisherNew (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::PublisherNew
typedef coil::Condition< MutexCondition
 
typedef coil::Guard< coil::MutexGuard
 
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::PublisherNew
enum  Policy { ALL, FIFO, SKIP, NEW }
 
- Protected Member Functions inherited from RTC::PublisherNew
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 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 onBufferWriteOverwrite (const cdrMemoryStream &data)
 Notify an ON_BUFFER_OVERWRITE 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 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...
 

Detailed Description

Definition at line 86 of file PublisherNewTests.cpp.

Constructor & Destructor Documentation

PublisherNew::PublisherNewMock::PublisherNewMock ( void  )
inline

Definition at line 90 of file PublisherNewTests.cpp.

virtual PublisherNew::PublisherNewMock::~PublisherNewMock ( void  )
inlinevirtual

Definition at line 94 of file PublisherNewTests.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:26:03