15 #define Q_OVERRUN_DELETE_OLDEST (false) 16 #define Q_Q_LENGTH (700) // 700 seems to be the max size possible 32 Q(T nullOb) : nullObject(nullOb){
40 if (overrunDeleteOldest){
53 pptr = (pptr+1) % qLen;
#define Q_Q_LENGTH
Definition: staticQ.h:16
boolean full() const
Definition: staticQ.h:78
T pop()
Definition: staticQ.h:60
T nullObject
Definition: staticQ.h:28
unsigned int qNbObj
Definition: staticQ.h:23
Q(T nullOb)
Definition: staticQ.h:32
unsigned int pptr
Definition: staticQ.h:21
int qLength() const
Definition: staticQ.h:84
static const unsigned int qLen
Definition: staticQ.h:24
T q[qLen]
Definition: staticQ.h:27
static const boolean overrunDeleteOldest
Definition: staticQ.h:25
#define Q_OVERRUN_DELETE_OLDEST
Definition: staticQ.h:15
unsigned int gptr
Definition: staticQ.h:22
boolean push(T elt)
Definition: staticQ.h:37
unsigned int qNbObjects() const
Definition: staticQ.h:72