00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SPrefEvent.h,v 1.3 2003/01/08 18:57:12 meierb Exp $ 00008 00009 Purpose : 00010 00011 RCS-Log: 00012 $Log: SPrefEvent.h,v $ 00013 Revision 1.3 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.1 2002/08/29 12:59:58 taeubig 00020 Added the sources 00021 00022 Revision 1.3 2000/01/11 17:26:13 zoidl 00023 added javadoc comments 00024 00025 Revision 1.2 1999/12/20 10:44:54 kern 00026 added pref events 00027 00028 Revision 1.1 1999/12/02 08:06:06 schickin 00029 SEvent-Hierarchie modified (STSysEvent is dead now) 00030 00031 00032 * #end# ************************************************************* */ 00033 00034 #ifndef SPREFEVENT_H 00035 #define SPREFEVENT_H 00036 00037 #include "SEvent.h" 00038 00042 class SPrefEvent : public SEvent { 00043 public: 00044 00051 enum Id { 00052 JOBLAYOUT, 00053 MACHLAYOUT, 00054 ALGSETTINGS, 00055 LOGSETTINGS 00056 }; 00057 00062 SPrefEvent( Id id ) : _id(id) {}; 00063 00068 virtual Type getType() const { return PREFEVENT; }; 00069 00074 Id getId() const { return _id; }; 00075 00076 private: 00077 Id _id; 00078 }; 00079 00080 #endif //SPREFEVENT_H 00081 00082