00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _TIME_TABLE_H
00011 #define _TIME_TABLE_H
00012 class TimeTable: public TableBase
00013 {
00014 public:
00015 TimeTable();
00016 ~TimeTable();
00017
00018
00019 void setFilename(string filename );
00020 string getFilename() const;
00021
00022 void setMethod(int method );
00023 int getMethod() const;
00024
00025 double getState() const;
00026
00027
00031 void process(const Eref& e, ProcPtr p);
00032
00036 void reinit(const Eref& e, ProcPtr p);
00037
00038 static const Cinfo * initCinfo();
00039
00040 private:
00041
00042
00043
00044 string filename_;
00045
00046
00047 vector < double > timeTable_;
00048
00049
00050 double state_;
00051
00052
00053 unsigned int curPos_;
00054
00055
00056
00057 int method_;
00058
00059 };
00060 #endif