#include <BufferBase.h>
Inheritance diagram for RTC::BufferBase< DataType >:

Public Member Functions | |
| virtual | ~BufferBase () |
| virtual destractor | |
| virtual long int | length () const =0 |
| Get the buffer length. | |
| virtual bool | write (const DataType &value)=0 |
| Write data into the buffer. | |
| virtual bool | read (DataType &value)=0 |
| Write data into the buffer. | |
| virtual bool | isFull () const =0 |
| True if the buffer is full, else false. | |
| virtual bool | isEmpty () const =0 |
| True if the buffer is empty, else false. | |
Protected Member Functions | |
| virtual void | put (const DataType &data)=0 |
| Write data into the buffer. | |
| virtual const DataType & | get ()=0 |
| Get data from the buffer. | |
| virtual DataType & | getRef ()=0 |
| Get the buffer's reference to be written the next. | |
This is the abstract interface class for various Buffer.
| DataType | Data type to be stored to the buffer. |
|
|||||||||
|
virtual destractor
|
|
|||||||||
|
Get data from the buffer.
Implemented in RTC::NullBuffer< DataType >, and RTC::RingBuffer< DataType >. |
|
|||||||||
|
Get the buffer's reference to be written the next.
Implemented in RTC::NullBuffer< DataType >, and RTC::RingBuffer< DataType >. |
|
|||||||||
|
True if the buffer is empty, else false.
Implemented in RTC::NullBuffer< DataType >, and RTC::RingBuffer< DataType >. |
|
|||||||||
|
True if the buffer is full, else false.
Implemented in RTC::NullBuffer< DataType >, and RTC::RingBuffer< DataType >. |
|
|||||||||
|
Get the buffer length.
Implemented in RTC::NullBuffer< DataType >, and RTC::RingBuffer< DataType >. |
|
||||||||||
|
Write data into the buffer.
Implemented in RTC::NullBuffer< DataType >, and RTC::RingBuffer< DataType >. |
|
||||||||||
|
Write data into the buffer.
Implemented in RTC::NullBuffer< DataType >, and RTC::RingBuffer< DataType >. |
|
||||||||||
|
Write data into the buffer.
Implemented in RTC::NullBuffer< DataType >, and RTC::RingBuffer< DataType >. |
1.4.1