Portability Libraries  2015.2.0.0
Common Methods and Objects for Platform Independance.
SoftwareAndServices::Library::Common::pQueue Class Reference

#include "<SaS/Common/pQueue.hpp>"

+ Inheritance diagram for SoftwareAndServices::Library::Common::pQueue:
+ Collaboration diagram for SoftwareAndServices::Library::Common::pQueue:

Public Member Functions

 pQueue ()
 
virtual ~pQueue ()
 
unsigned int getCount () const
 
unsigned int getMaxQueueEntries () const
 
bool insert (unsigned int priority, const void *data)
 
void * remove ()
 
bool setInsertMode (queue::mode md)
 
bool setMaxQueueEntries (unsigned int MaxSize)
 
bool setRemoveMode (queue::mode md)
 
- Public Member Functions inherited from SoftwareAndServices::Library::Common::instance< pQueue >
 instance ()
 
virtual InstanceCount_t decInstance () const
 
virtual InstanceCount_t getInstance () const
 
virtual InstanceCount_t incInstance () const
 
void operator delete (void *ToFree)
 

Detailed Description

Priority queue.

Each element has both data and a priority. Where priority is an 'unsigned int' where ZERO is the lowest priority.

Definition at line 91 of file pQueue.hpp.


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