00001 #pragma once
00002
00003 #include "SimEvent.h"
00004 #include "TimerBase.h"
00005 #include "TimerInfo.h"
00006
00007 class CEventTimer : public CSimEvent
00008 {
00009 protected:
00010 CTimerBase* timer;
00011 __time time;
00012 CTimerInfo* info;
00013
00014 public:
00015 CEventTimer(
00016 CTimerBase* timer,
00017 __time time,
00018 CTimerInfo* info
00019 );
00020 virtual ~CEventTimer() { }
00021
00022 virtual void Process();
00023 virtual void Clean() { }
00024
00025 inline __time Time() { return this->time; }
00026 inline CTimerInfo* Info() { return this->info; }
00027 };