45 FXbool setSize(FXival sz);
51 FXival getUsed()
const;
54 FXival getFree()
const;
57 FXbool isFull()
const;
60 FXbool isEmpty()
const;
63 FXbool push(FXptr ptr);
66 FXbool peek(FXptr& ptr);
69 FXbool pop(FXptr& ptr);
80 template <
typename TYPE>
Queue of pointers to TYPE.
Definition: FXPtrQueue.h:81
Queue of void pointers.
Definition: FXPtrQueue.h:28
FXbool push(FXptr ptr)
Add item to queue, return true if success.
FXbool pop()
Drop item from queue, return true if success.
Definition: FX4Splitter.h:28
FXival no() const
Return number of objects.
Definition: FXPtrList.h:55
FXbool peek(FXptr &ptr)
Peek for item.
FXival getSize() const
Return size.
Definition: FXPtrQueue.h:48
List of void pointers.
Definition: FXPtrList.h:28
FXPtrQueue()
Create initially empty queue.