00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SPassiveMachinesMod.h,v 1.5 2003/03/13 19:24:03 taeubig Exp $ 00008 00009 Purpose : 00010 00011 RCS-Log: 00012 $Log: SPassiveMachinesMod.h,v $ 00013 Revision 1.5 2003/03/13 19:24:03 taeubig 00014 prob.dists in new dir, other changes, removed log messages 00015 00016 Revision 1.4 2003/01/08 18:57:12 meierb 00017 added randomized release times 00018 00019 Revision 1.1.1.1 2002/12/02 22:26:19 meierb 00020 my_schedule 00021 00022 Revision 1.2 2002/11/09 17:48:15 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.6 2000/01/17 17:38:10 zoidl 00029 added javadoc comments 00030 00031 Revision 1.5 2000/01/12 02:29:28 taeubig 00032 Changed interface for clone() 00033 Deleted getX() functions in getXMod classes 00034 00035 Revision 1.4 2000/01/08 19:04:11 taeubig 00036 Started implementation of clone() functions 00037 00038 Revision 1.3 1999/10/05 13:42:20 zoidl 00039 lots of new load- and save-routines 00040 00041 Revision 1.2 1999/06/17 16:34:38 hall 00042 STopology changed, tuned STSysSchedEvent-stuff and lost more! 00043 00044 Revision 1.1 1999/04/27 13:44:24 schickin 00045 a few forgotten new files 00046 00047 00048 * #end# ************************************************************* */ 00049 00050 #ifndef SPASSIVEMACHINESMOD_H 00051 #define SPASSIVEMACHINESMOD_H 00052 00053 // system header files 00054 #include <iostream> 00055 00056 // project header files 00057 #include "SModifier.h" 00058 #include "STaskSystem.h" 00059 00060 class SPassiveMachines; 00061 00065 class SPassiveMachinesMod : public SModifier { 00066 public: 00067 00070 SPassiveMachinesMod(SPassiveMachines& passMach) : 00071 _passMach(passMach) 00072 {}; 00073 00074 // inherited member function 00075 00080 virtual bool load(std::istream &in); 00081 virtual void save(std::ostream &out) const; 00082 00083 //virtual SPassiveMachines* clone(); 00084 00087 void setNumOfMachines(int num); 00088 00091 void setTaskSys(STaskSystem& ts); 00092 00095 void setTopology(STopology& top); 00096 00097 private: 00098 SPassiveMachines& _passMach; 00099 }; 00100 00101 #endif /* SPASSIVEMACHINESMOD_H */