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

EventInterfaceList.h

00001 // Copyright (c) 2004, Thomas Lochmatter, thl@lothosoft.ch 00002 00003 #ifndef classEventInterfaceList 00004 #define classEventInterfaceList 00005 00006 class EventInterfaceList; 00007 00008 #include "EventInterface.h" 00009 00011 class EventInterfaceList { 00012 friend class EventInterface; 00013 00014 protected: 00016 EventInterface *mEventInterfaceFirst; 00018 EventClock *mEventClock; 00019 00020 public: 00022 EventInterfaceList(); 00024 ~EventInterfaceList(); 00025 00027 EventClock* GetEventClock() const {return mEventClock;} 00029 EventInterface *GetEventInterfaceFirst() {return mEventInterfaceFirst;} 00031 EventInterface *GetEventInterfaceNext(EventInterface *cur); 00032 00034 EventClock::tTime GetNextEventTimeout(); 00036 void UpdateClock() {mEventClock->Update();} 00037 00039 bool AddEventInterface(EventInterface *sif); 00041 bool RemoveEventInterface(EventInterface *sif); 00042 00044 void Report(const std::string &name, std::ostream &out, int ccindent=0) const; 00045 }; 00046 00047 #endif

Generated on Wed Jun 1 09:19:07 2005 for libmip by doxygen 1.3.8