00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SMachinesMod.h,v 1.5 2003/01/08 18:57:12 meierb Exp $ 00008 00009 Purpose : 00010 00011 RCS-Log: 00012 $Log: SMachinesMod.h,v $ 00013 Revision 1.5 2003/01/08 18:57:12 meierb 00014 added randomized release times 00015 00016 Revision 1.1.1.1 2002/12/02 22:26:19 meierb 00017 my_schedule 00018 00019 Revision 1.3 2002/11/11 16:52:52 taeubig 00020 header include changes 00021 00022 Revision 1.2 2002/11/09 17:59:49 taeubig 00023 <iostream> inclusion, added std:: 00024 00025 Revision 1.1 2002/08/29 12:59:58 taeubig 00026 Added the sources 00027 00028 Revision 1.4 2000/05/29 19:54:03 taeubig 00029 New subdirectory structure 00030 00031 Revision 1.3 2000/01/17 17:38:08 zoidl 00032 added javadoc comments 00033 00034 Revision 1.2 1999/10/05 13:42:12 zoidl 00035 lots of new load- and save-routines 00036 00037 Revision 1.1 1999/04/27 13:39:25 schickin 00038 well folks, that's the first demo version that really runs 8-) 00039 00040 00041 00042 * #end# ************************************************************* */ 00043 00044 #ifndef SMACHINESMOD_H 00045 #define SMACHINESMOD_H 00046 00047 // system header files 00048 #include <iostream> 00049 00050 // project header files 00051 #include "SPassiveMachinesMod.h" 00052 #include "SMachines.h" 00053 #include "env/SEnvironment.h" 00054 00058 class SMachinesMod : public SPassiveMachinesMod { 00059 public: 00062 SMachinesMod(SMachines& machines) : 00063 SPassiveMachinesMod((SPassiveMachines&)machines), 00064 _machines(machines) {}; 00065 00066 // inherited member function 00067 00072 virtual bool load(std::istream &in); 00073 00076 virtual void save(std::ostream &out) const; 00077 00081 void setEnv(SEnvironment* pEnv); 00082 private: 00083 SMachines& _machines; 00084 }; 00085 00086 #endif /* SMACHINESMOD_H */