Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXSemaQueueOf< TYPE > Class Template Reference
Inheritance diagram for FX::FXSemaQueueOf< TYPE >:
FX::FXSemaQueue

Public Member Functions

 FXSemaQueueOf (FXuint sz=32)
 Create initially empty queue of given size sz.
 
FXbool push (TYPE *obj)
 Add item to queue, return true if success.
 
FXbool trypush (TYPE *obj)
 Try push object into queue, return true if success.
 
FXbool trypush (TYPE *obj, FXTime nsec)
 Try push object into queue, return true if success.
 
FXbool pop (TYPE *&obj)
 Drop item from queue, return true if success.
 
FXbool trypop (TYPE *&obj)
 Try pop object from queue, return true if success.
 
FXbool trypop (TYPE *&obj, FXTime nsec)
 Try pop object from queue, return true if success.
 
- Public Member Functions inherited from FX::FXSemaQueue
 FXSemaQueue (FXuint sz=32)
 Create initially empty queue of given size sz.
 
FXuint getSize () const
 Return size.
 
FXbool push (FXptr ptr)
 Add item to queue, return true if success.
 
FXbool trypush (FXptr obj)
 Try push object into queue.
 
FXbool trypush (FXptr obj, FXTime nsec)
 Try push object into queue, waiting up to nsec for space to become available. More...
 
FXbool pop (FXptr &ptr)
 Remove item from queue, return true if success.
 
FXbool trypop (FXptr &obj)
 Try pop object from queue.
 
FXbool trypop (FXptr &obj, FXTime nsec)
 Try pop object from queue, waiting up to nsec for object to become available. More...
 
FXbool pop ()
 Drop item from queue, return true if success.
 
 ~FXSemaQueue ()
 Destroy queue.
 

The documentation for this class was generated from the following file:

Copyright © 1997-2020 Jeroen van der Zijp