00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SLineTopology.h,v 1.4 2003/01/08 18:57:14 meierb Exp $ 00008 00009 Purpose : A simplified version of SMeshTopology which supports only a line 00010 of positions 00011 00012 RCS-Log: 00013 $Log: SLineTopology.h,v $ 00014 Revision 1.4 2003/01/08 18:57:14 meierb 00015 added randomized release times 00016 00017 Revision 1.1.1.1 2002/12/02 22:26:19 meierb 00018 my_schedule 00019 00020 Revision 1.2 2002/11/07 12:33:25 taeubig 00021 Added class keyword to friend declaration 00022 00023 Revision 1.1 2002/08/29 12:59:59 taeubig 00024 Added the sources 00025 00026 Revision 1.2 2000/07/02 23:40:57 taeubig 00027 Updated class tree for n-dimensional, 2-dimensional, 1-dimensional 00028 meshes (SMeshN, SMeshTopology, SLineTopology) 00029 NOTE: virtual base classes have changed (only STopology is virtual) 00030 00031 Revision 1.1 2000/05/29 14:44:31 taeubig 00032 Moved topology related stuff into subdirectory topos 00033 00034 Revision 1.6 2000/01/17 12:06:43 zoidl 00035 added javadoc comments 00036 00037 Revision 1.5 1999/11/18 15:25:17 zoidl 00038 setSize() is private now 00039 00040 Revision 1.4 1999/11/18 13:41:04 zoidl 00041 del'd unnecessary friends 00042 00043 Revision 1.3 1999/11/04 22:19:34 zoidl 00044 loading jobs more flexible 00045 00046 Revision 1.2 1999/11/02 12:18:21 zoidl 00047 added modifier for SLineTopology 00048 00049 Revision 1.1 1999/10/29 10:46:37 schickin 00050 line topology (between mesh and single-top.) added 00051 00052 00053 * #end# ************************************************************* */ 00054 00055 #ifndef SLINETOPOLOGY_H 00056 #define SLINETOPOLOGY_H 00057 00058 // project header files 00059 #include "SMeshTopology.h" 00060 #include "SLineTopologyMod.h" 00061 00062 // ------------------------------------------------------------ 00069 //class SLineTopology : public virtual SMeshTopology { 00070 class SLineTopology : public SMeshTopology { 00071 TYPEINFO1(SLineTopology, "line", SMeshTopology); 00072 friend class SLineTopologyMod; 00073 public: 00077 SLineTopology(int size); 00080 virtual ~SLineTopology() {}; 00081 00084 virtual STopologyMod &getModifier() 00085 { return _mod; }; 00086 00092 //virtual bool canEmbedAt(const STopology &top, int pos) const; 00093 00099 //virtual void embed(const STopology& top, int pos, int ID); 00100 00104 //virtual void remove(int ID); 00105 00106 private: 00107 void setSize(int size); 00108 00109 SLineTopologyMod _mod; 00110 }; 00111 00112 #endif //SLINETOPOLOGY_H