#include <OutPort.h>
Inheritance diagram for RTC::OutPort< DataType, Buffer >:

Public Member Functions | |
| OutPort (const char *name, DataType &value, long int length=8) | |
| Constructor. | |
| virtual | ~OutPort () |
| virtual bool | write (const DataType &value) |
| Write data. | |
| bool | write () |
| bool | operator<< (DataType &value) |
| bool | read (DataType &value) |
| Read data. | |
| void | setReadBlock (bool block) |
| Set read() block mode. | |
| void | setWriteBlock (bool block) |
| Set read() block mode. | |
| void | setReadTimeout (long int timeout) |
| Set read() timeout. | |
| void | setWriteTimeout (long int timeout) |
| Set write() timeout. | |
| void | setOnWrite (OnWrite< DataType > *on_write) |
| Set OnWrite callback. | |
| void | setOnWriteConvert (OnWriteConvert< DataType > *on_wconvert) |
| Set OnWriteConvert callback. | |
| void | setOnOverflow (OnOverflow< DataType > *on_overflow) |
| Set OnOverflow callback. | |
| void | setOnRead (OnRead< DataType > *on_read) |
| Set OnRead callback. | |
| void | setOnReadConvert (OnReadConvert< DataType > *on_rconvert) |
| Set OnReadConvert callback. | |
| void | setOnUnderflow (OnUnderflow< DataType > *on_underflow) |
| Set OnUnderflow callback. | |
| const char * | name () |
| OutPort's name. | |
| void | attach (const char *id, PublisherBase *publisher) |
| Attach a publisher. | |
| void | attach_front (const char *id, PublisherBase *publisher) |
| Attach a publisher. | |
| void | attach_back (const char *id, PublisherBase *publisher) |
| Attach a publisher. | |
| PublisherBase * | detach (const char *id) |
| Detach a publisher. | |
| void | notify () |
| Notify data update. | |
Protected Attributes | |
| std::string | m_name |
| std::vector< Publisher * > | m_publishers |
| Publisher list. | |
|
||||||||||||||||||||
|
Constructor.
|
|
|||||||||
|
|
|
||||||||||||
|
Attach a publisher. Attach a publisher to observe OutPort. |
|
||||||||||||
|
Attach a publisher. Attach a publisher to the taile of the Publisher list. |
|
||||||||||||
|
Attach a publisher. Attach a publisher to the head of the Publisher list. |
|
|
Detach a publisher. Detach a publisher to observe OutPort. |
|
|
OutPort's name. This operation returns OutPort's name |
|
|
Notify data update. This operation notify data update to Publishers |
|
||||||||||
|
|
|
||||||||||
|
Read data.
|
|
||||||||||
|
Set OnOverflow callback.
|
|
||||||||||
|
Set OnRead callback.
|
|
||||||||||
|
Set OnReadConvert callback.
|
|
||||||||||
|
Set OnUnderflow callback.
|
|
||||||||||
|
Set OnWrite callback.
|
|
||||||||||
|
Set OnWriteConvert callback.
|
|
||||||||||
|
Set read() block mode.
|
|
||||||||||
|
Set read() timeout.
|
|
||||||||||
|
Set read() block mode.
|
|
||||||||||
|
Set write() timeout.
|
|
|||||||||
|
|
|
||||||||||
|
Write data.
|
|
|
|
|
|
Publisher list.
|
1.4.1