00001 #pragma once
00002 #include "SimEvent.h"
00003 #include "SimHandler.h"
00004
00005 class CSimModel
00006 {
00007 public:
00008 virtual __time MaxTime() = 0;
00009 virtual __uint32 Events() = 0;
00010 virtual CSimEvent* Event(__uint32 index, __time& time) = 0;
00011 virtual void Run(CSimEvent* evt) = 0;
00012 virtual void Init(CSimHandler* handler) = 0;
00013 virtual void Finalize() = 0;
00014 };