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 | |
Queue * | Create (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 struct gft::Queue::_queue gft::Queue::Queue |
FIFO Queue with circular and growing features.
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 | ) |
void gft::Queue::Push | ( | Queue * | Q, |
int | p | ||
) |
void gft::Queue::Reset | ( | Queue * | Q | ) |