Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages | Examples

QueueElement< PacketType > Struct Template Reference
[GanefCommon]

This represents a PacketType in the Queue, priority and sequence number are set upon insertion. More...

#include <queue.h>

List of all members.

Public Member Functions

 QueueElement (PacketType *_pack)
 The default constructor of a QueueElement, takes a packet as argument and reads its data from it.

Public Attributes

PacketType * pack
unsigned char priority
unsigned int seqno
unsigned char type
unsigned int objid
unsigned int user_id

Static Public Attributes

static unsigned int next_sequence_number = 0
 Note this number is NOT protected by a mutex, because the sequence number is only for hinting the queue about a pretty fair order.


Detailed Description

template<class PacketType>
struct QueueElement< PacketType >

This represents a PacketType in the Queue, priority and sequence number are set upon insertion.

Definition at line 40 of file queue.h.


The documentation for this struct was generated from the following file:
Generated on Mon Feb 6 12:24:53 2006 for Ganef by  doxygen 1.4.4