Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

EventQueue Class Reference

#include <EventQueue.h>

List of all members.

Public Member Functions

 EventQueue ()
bool isEventPending ()
void * getNextEvent ()
void addLast (GE *event)
int getType ()

Private Attributes

EventNodefirst


Detailed Description

Definition at line 21 of file EventQueue.h.


Constructor & Destructor Documentation

EventQueue::EventQueue  ) 
 

Definition at line 45 of file EventQueue.cpp.

References first.


Member Function Documentation

void EventQueue::addLast GE event  ) 
 

Definition at line 55 of file EventQueue.cpp.

References first, GE::getType(), and EventNode::insert().

Referenced by Gne::addPlayer(), Gne::aPlayer(), Gne::clientThread(), Gne::dealExtras(), Gne::joinServer(), Gne::setPlayerActionNT(), Gne::setPlayerDeath(), Gne::setPlayerExtras(), and Gne::setPlayerName().

Here is the call graph for this function:

void * EventQueue::getNextEvent  ) 
 

Definition at line 65 of file EventQueue.cpp.

References first, EventNode::getItem(), EventNode::getNextNode(), and EventNode::isEmpty().

Referenced by Gne::getNextEvent().

Here is the call graph for this function:

int EventQueue::getType  ) 
 

Definition at line 60 of file EventQueue.cpp.

References first, and EventNode::getType().

Referenced by Gne::nextEventPending().

Here is the call graph for this function:

bool EventQueue::isEventPending  ) 
 

Definition at line 50 of file EventQueue.cpp.

References first, and EventNode::isEmpty().

Here is the call graph for this function:


Member Data Documentation

EventNode* EventQueue::first [private]
 

Definition at line 23 of file EventQueue.h.

Referenced by addLast(), EventQueue(), getNextEvent(), getType(), and isEventPending().


Generated on Sun Jun 5 15:49:29 2005 for Defacto by  doxygen 1.4.3