Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Queue of void pointers. More...
#include <FXPtrQueue.h>
Public Member Functions | |
FXPtrQueue () | |
Create initially empty queue. | |
FXPtrQueue (FXival sz) | |
Create queue with initial size. | |
FXbool | setSize (FXival sz) |
Change size of queue; return true if success. | |
FXival | getSize () const |
Return size. | |
FXival | getUsed () const |
Return number of used slots. | |
FXival | getFree () const |
Return number of free slots. | |
FXbool | isFull () const |
Check if queue is full. | |
FXbool | isEmpty () const |
Check if queue is empty. | |
FXbool | push (FXptr ptr) |
Add item to queue, return true if success. | |
FXbool | peek (FXptr &ptr) |
Peek for item. | |
FXbool | pop (FXptr &ptr) |
Remove item from queue, return true if success. | |
FXbool | pop () |
Drop item from queue, return true if success. | |
~FXPtrQueue () | |
Destroy queue. | |
Queue of void pointers.
Copyright © 1997-2022 Jeroen van der Zijp |