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

EventQueue.h

Go to the documentation of this file.
00001 #ifndef _EVENTQUEUE_H_
00002 #define _EVENTQUEUE_H_
00003 
00004 #include "Event.h"
00005 
00006 
00007 class EventNode{
00008 private:
00009         EventNode *next;
00010         void *item;
00011         int type;
00012 public:
00013         EventNode();
00014         void insert(void *item, int type);
00015         int getType();
00016         void *getItem();
00017         EventNode *getNextNode();
00018         bool isEmpty();
00019 };
00020 
00021 class EventQueue{
00022 private:
00023         EventNode *first;
00024 public:
00025         EventQueue();
00026         bool isEventPending();
00027         void *getNextEvent();
00028         void addLast(GE *event);
00029         int getType();
00030 };
00031 
00032 
00033 #endif

Generated on Sun Jun 5 15:47:03 2005 for Defacto by  doxygen 1.4.3