#include <BufferBase.h>
Inheritance diagram for RTC::NullBuffer< DataType >:
Public Member Functions | |
NullBuffer (long int size=1) | |
virtual | ~NullBuffer () |
virtual long int | length () const |
Get the buffer length. | |
virtual bool | write (const DataType &value) |
Write data into the buffer. | |
virtual bool | read (DataType &value) |
Write data into the buffer. | |
virtual bool | isFull () const |
True if the buffer is full, else false. | |
virtual bool | isEmpty () const |
True if the buffer is empty, else false. | |
Protected Member Functions | |
virtual void | put (const DataType &data) |
Write data into the buffer. | |
virtual const DataType & | get () |
Get data from the buffer. | |
virtual DataType & | getRef () |
Get the buffer's reference to be written the next. |
|
|
|
|
|
Get data from the buffer.
Implements RTC::BufferBase< DataType >. |
|
Get the buffer's reference to be written the next.
Implements RTC::BufferBase< DataType >. |
|
True if the buffer is empty, else false.
Implements RTC::BufferBase< DataType >. |
|
True if the buffer is full, else false.
Implements RTC::BufferBase< DataType >. |
|
Get the buffer length.
Implements RTC::BufferBase< DataType >. |
|
Write data into the buffer.
Implements RTC::BufferBase< DataType >. |
|
Write data into the buffer.
Implements RTC::BufferBase< DataType >. |
|
Write data into the buffer.
Implements RTC::BufferBase< DataType >. |