#include <queue.h>
Inheritance diagram for Queue< PacketType >:

Public Member Functions | |
| Queue () | |
| ~Queue () | |
| unsigned int | size () |
| void | insert (PacketType *p) |
| PacketType * | next () |
| PacketType * | peek () |
| void | pack (PacketType *packet) |
| This method will just insert the packet into the queue. | |
| void | unpack (PacketType *packet) |
| This method will just insert the packet into the queue. | |
| template<class Comp> | |
| void | removeWithComparer (const Comp &comp) |
| This method will remove all elements that test true with the given comparer. | |
| void | clear () |
Protected Types | |
|
typedef std::set< QueueElement< PacketType >, QueueComparer< PacketType > > | QueueSet |
| typedef QueueSet::iterator | QueueSetIt |
Protected Attributes | |
| QueueSet | queue |
| mutex | m_mutex |
Definition at line 115 of file queue.h.
1.4.4