Classes | Typedefs | Functions
gft::Queue Namespace Reference

Classes

struct  _queue
 FIFO Queue with circular and growing features. More...
 

Typedefs

typedef struct gft::Queue::_queue Queue
 FIFO Queue with circular and growing features. More...
 

Functions

QueueCreate (int nbuckets)
 
void Destroy (Queue **Q)
 
void Push (Queue *Q, int p)
 
int Pop (Queue *Q)
 
void Reset (Queue *Q)
 
bool IsEmpty (Queue *Q)
 
bool IsFull (Queue *Q)
 

Typedef Documentation

FIFO Queue with circular and growing features.

Function Documentation

Queue * gft::Queue::Create ( int  nbuckets)
void gft::Queue::Destroy ( Queue **  Q)
bool gft::Queue::IsEmpty ( Queue *  Q)
bool gft::Queue::IsFull ( Queue *  Q)
int gft::Queue::Pop ( Queue *  Q)
Returns
Returns NIL if empty.
void gft::Queue::Push ( Queue *  Q,
int  p 
)
void gft::Queue::Reset ( Queue *  Q)