Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

bqueue Class Reference

#include <bqueue.h>

Inheritance diagram for bqueue:

bqueueT< char > List of all members.

Public Member Functions

 bqueue (unsigned int sz, unsigned int tokenSize)
 ~bqueue ()
void put (const void *p, unsigned int n)
void get (void *p, unsigned int n)
unsigned int size () const
unsigned int data () const
unsigned int room () const
void resize (unsigned int sz)

Private Attributes

unsigned int tsize
unsigned int nsize
unsigned int ndata

Constructor & Destructor Documentation

bqueue::bqueue unsigned int  sz,
unsigned int  tokenSize
[inline]
 

Definition at line 17 of file bqueue.cc.

bqueue::~bqueue  )  [inline]
 

Definition at line 24 of file bqueue.cc.


Member Function Documentation

unsigned int bqueue::data  )  const [inline]
 

Reimplemented from bqueueT< char >.

Definition at line 32 of file bqueue.cc.

References ndata.

Referenced by cosyFifo::data(), cosyFifo::grow(), cosyFifo::read(), room(), and cosyFifo::write().

void bqueue::get void *  p,
unsigned int  n
[inline]
 

Definition at line 48 of file bqueue.cc.

References bqueueT< T >::get(), ndata, and tsize.

Referenced by cosyFifo::read().

void bqueue::put const void *  p,
unsigned int  n
[inline]
 

Definition at line 42 of file bqueue.cc.

References ndata, bqueueT< T >::put(), and tsize.

Referenced by cosyFifo::grow(), and cosyFifo::write().

void bqueue::resize unsigned int  sz  )  [inline]
 

Reimplemented from bqueueT< char >.

Definition at line 54 of file bqueue.cc.

References nsize, bqueueT< T >::resize(), and tsize.

Referenced by cosyFifo::grow().

unsigned int bqueue::room  )  const [inline]
 

Reimplemented from bqueueT< char >.

Definition at line 37 of file bqueue.cc.

References data(), and size().

Referenced by cosyFifo::read(), cosyFifo::room(), and cosyFifo::write().

unsigned int bqueue::size  )  const [inline]
 

Reimplemented from bqueueT< char >.

Definition at line 27 of file bqueue.cc.

References nsize.

Referenced by room(), and cosyFifo::size().


Member Data Documentation

unsigned int bqueue::ndata [private]
 

Definition at line 34 of file bqueue.h.

Referenced by data(), get(), and put().

unsigned int bqueue::nsize [private]
 

Definition at line 33 of file bqueue.h.

Referenced by resize(), and size().

unsigned int bqueue::tsize [private]
 

Definition at line 32 of file bqueue.h.

Referenced by get(), put(), and resize().


The documentation for this class was generated from the following files:
Generated on Wed Feb 15 14:52:40 2006 for yapi by doxygen 1.3.2