00001 #pragma once
00002
00003 #include "SimModel.h"
00004 #include "Topo.h"
00005 #include "ModelChannel.h"
00006
00007 class CModel : public CSimModel
00008 {
00009 protected:
00010 __time maxTime;
00011 CTopo* topology;
00012
00013 public:
00014 CModel(
00015 __time maxTime,
00016 CTopo* topology
00017 );
00018 virtual ~CModel() { }
00019
00020 virtual inline __time MaxTime() { return this->maxTime; }
00021 virtual void Run(CSimEvent* evt);
00022 };