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

EventClock.h

00001 // Copyright (c) 2004, Thomas Lochmatter, thl@lothosoft.ch 00002 00003 #ifndef classEventClock 00004 #define classEventClock 00005 00006 class EventClock; 00007 00008 #include <sys/time.h> 00009 #include <string> 00010 #include <iostream> 00011 00013 00018 class EventClock { 00019 friend class EventInterface; 00020 00021 private: 00023 unsigned long long mTime; 00024 00025 public: 00027 typedef unsigned long long tTime; 00028 00030 EventClock(); 00031 00033 void Update(); 00035 unsigned long long GetTime() {return mTime;} 00036 00038 void Report(const std::string &name, std::ostream &out, int ccindent=0) const; 00039 }; 00040 00041 #endif

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