Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

RTC::NullBuffer< DataType > Class Template Reference

#include <BufferBase.h>

Inheritance diagram for RTC::NullBuffer< DataType >:

RTC::BufferBase< DataType > List of all members.

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.

template<class DataType>
class RTC::NullBuffer< DataType >


Constructor & Destructor Documentation

template<class DataType>
RTC::NullBuffer< DataType >::NullBuffer long int  size = 1  )  [inline]
 

template<class DataType>
virtual RTC::NullBuffer< DataType >::~NullBuffer  )  [inline, virtual]
 


Member Function Documentation

template<class DataType>
virtual const DataType& RTC::NullBuffer< DataType >::get  )  [inline, protected, virtual]
 

Get data from the buffer.

Implements RTC::BufferBase< DataType >.

template<class DataType>
virtual DataType& RTC::NullBuffer< DataType >::getRef  )  [inline, protected, virtual]
 

Get the buffer's reference to be written the next.

Implements RTC::BufferBase< DataType >.

template<class DataType>
virtual bool RTC::NullBuffer< DataType >::isEmpty  )  const [inline, virtual]
 

True if the buffer is empty, else false.

Implements RTC::BufferBase< DataType >.

template<class DataType>
virtual bool RTC::NullBuffer< DataType >::isFull  )  const [inline, virtual]
 

True if the buffer is full, else false.

Implements RTC::BufferBase< DataType >.

template<class DataType>
virtual long int RTC::NullBuffer< DataType >::length  )  const [inline, virtual]
 

Get the buffer length.

Implements RTC::BufferBase< DataType >.

template<class DataType>
virtual void RTC::NullBuffer< DataType >::put const DataType &  data  )  [inline, protected, virtual]
 

Write data into the buffer.

Implements RTC::BufferBase< DataType >.

template<class DataType>
virtual bool RTC::NullBuffer< DataType >::read DataType &  value  )  [inline, virtual]
 

Write data into the buffer.

Implements RTC::BufferBase< DataType >.

template<class DataType>
virtual bool RTC::NullBuffer< DataType >::write const DataType &  value  )  [inline, virtual]
 

Write data into the buffer.

Implements RTC::BufferBase< DataType >.


The documentation for this class was generated from the following file:
Generated on Fri Oct 5 05:16:02 2007 for OpenRTM by  doxygen 1.4.1