Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Queue of pointers to TYPE. More...
#include <FXPtrQueue.h>
Public Member Functions | |
FXPtrQueueOf (FXuint sz) | |
FXbool | push (TYPE *ptr) |
FXbool | peek (TYPE *&ptr) |
FXbool | pop (TYPE *&ptr) |
Public Member Functions inherited from FX::FXPtrQueue | |
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 pointers to TYPE.
Copyright © 1997-2022 Jeroen van der Zijp |