00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SMeshTopologyMod.h,v 1.5 2003/01/08 18:57:14 meierb Exp $ 00008 00009 Purpose : 00010 00011 RCS-Log: 00012 $Log: SMeshTopologyMod.h,v $ 00013 Revision 1.5 2003/01/08 18:57:14 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/10 00:05:13 taeubig 00020 correction of the comment after the #endif directive 00021 00022 Revision 1.2 2002/11/09 23:21:58 taeubig 00023 Added std:: for standard namespace, 00024 realtive path corrections for header includes 00025 00026 Revision 1.1 2002/08/29 12:59:59 taeubig 00027 Added the sources 00028 00029 Revision 1.1 2000/05/29 14:44:36 taeubig 00030 Moved topology related stuff into subdirectory topos 00031 00032 Revision 1.4 2000/05/27 00:52:13 taeubig 00033 Removed SMeshTopologyMod:: from setSize() declaration 00034 00035 Revision 1.3 2000/01/17 12:06:45 zoidl 00036 added javadoc comments 00037 00038 Revision 1.2 2000/01/11 14:19:49 taeubig 00039 Defined setSize(int, int) 00040 00041 Revision 1.1 1999/10/05 13:42:15 zoidl 00042 lots of new load- and save-routines 00043 00044 00045 * #end# ************************************************************* */ 00046 00047 #ifndef SMESHTOPOLOGYMOD_H 00048 #define SMESHTOPOLOGYMOD_H 00049 00050 // system header files 00051 00052 // project header files 00053 #include "STopologyMod.h" 00054 00055 class SMeshTopology; 00056 00060 class SMeshTopologyMod : public STopologyMod { 00061 00062 public: 00065 SMeshTopologyMod(SMeshTopology& topo) : _topo(topo) {}; 00066 00069 virtual ~SMeshTopologyMod() {}; 00070 00071 // inherited member function 00072 00077 virtual bool load(std::istream &in); 00080 virtual void save(std::ostream &out) const; 00081 virtual void sample() {}; 00082 00087 void setSize(int width, int height); 00088 00089 private: 00090 SMeshTopology& _topo; 00091 }; 00092 00093 #endif //SMESHTOPOLOGYMOD_H