00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SAtomarJobMod.h,v 1.5 2003/01/08 18:57:13 meierb Exp $ 00008 00009 Purpose : 00010 00011 RCS-Log: 00012 $Log: SAtomarJobMod.h,v $ 00013 Revision 1.5 2003/01/08 18:57:13 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:55 taeubig 00020 header include changes 00021 00022 Revision 1.2 2002/11/09 20:08:41 taeubig 00023 <iostream> inclusion, added std:: 00024 00025 Revision 1.1 2002/08/29 12:59:59 taeubig 00026 Added the sources 00027 00028 Revision 1.1 2000/05/29 19:51:19 taeubig 00029 Moved job type related files into subdirectory jobs 00030 00031 Revision 1.8 2000/01/13 16:44:07 zoidl 00032 added javadoc comments 00033 00034 Revision 1.7 1999/10/05 13:42:06 zoidl 00035 lots of new load- and save-routines 00036 00037 Revision 1.6 1999/03/31 11:13:21 hall 00038 added a few output operators and save routines 00039 00040 Revision 1.5 1999/03/30 12:13:49 schickin 00041 dynamic_cast added, constructors for task system classes added 00042 00043 Revision 1.4 1999/03/29 12:48:49 schickin 00044 design of modifiers changed (SFooMod is now a member of SFoo). the stuff 00045 compiles and a simple test program runs fine. 00046 00047 Revision 1.3 1999/03/29 10:36:30 schickin 00048 moving things from hpmayr to sunhalle 00049 00050 Revision 1.2 1999/03/25 14:12:46 schickin 00051 several changes in /model (no real executable yet) 00052 00053 Revision 1.1 1999/03/23 14:26:38 schickin 00054 a lot of new code in /model: things compile but have no functionality 00055 00056 00057 * #end# ************************************************************* */ 00058 00059 #ifndef SATOMARJOBMOD_H 00060 #define SATOMARJOBMOD_H 00061 00062 // system header files 00063 #include <iostream> 00064 00065 // project header files 00066 #include "SJobMod.h" 00067 #include "../SModifier.h" 00068 00069 class SAtomarJob; 00070 00071 // ----------------------------------------------------------------------- 00072 class SAtomarJobMod : public SJobMod { 00073 TYPEINFO0(SAtomarJobMod, "?"); 00074 public: 00077 SAtomarJobMod(SAtomarJob& job); 00078 00079 // inherited member function 00083 virtual bool load(std::istream &in); 00086 virtual void save(std::ostream &out) const; 00087 virtual void sample() {}; 00088 00092 SAtomarJob& getAtomar() { return _job; }; 00093 private: 00094 SAtomarJob& _job; 00095 }; 00096 // ----------------------------------------------------------------------- 00097 00098 #endif //SATOMARJOBMOD_H