Changeset 407 in Sophya for trunk/Poubelle/archTOI.old/toisvr.h
- Timestamp:
- Sep 18, 1999, 2:08:23 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/toisvr.h
r394 r407 7 7 8 8 #include "toiiter.h" 9 #include <list> 9 10 10 11 class AuxGPS; 11 12 12 class TOISvr { 13 class RequestHandler { 14 public: 15 virtual bool processTOIReq(string line, string toiname, TOIKind toi, int index, 16 bool interp, bool repet, bool flag, bool notrig)=0; 17 virtual bool processOption(string keyw, string args)=0; 18 }; 19 20 class TOISvr : public RequestHandler { 13 21 public: 14 22 TOISvr(); 15 23 16 void SetDirectory(string);17 void AddFile(string);18 void OnBoardRecorderFiles(bool);19 void UseAuxGPS(AuxGPS* gps);24 void setDirectory(string); 25 void addFile(string); 26 void onBoardRecorderFiles(bool); 27 void useAuxGPS(AuxGPS* gps); 20 28 21 void SetTimeInterval(double tStart, double tEnd);29 void setTimeInterval(double tStart, double tEnd); 22 30 23 void AddInfo(TOIKind kind, int index, bool triggering=true, bool interp=false);24 void AddInfo(TOIKind kind, bool triggering=true, bool interp=false);31 void addInfo(TOIKind kind, int index, bool triggering=true, bool interp=false); 32 void addInfo(TOIKind kind, bool triggering=true, bool interp=false); 25 33 26 TOIIter DoQuery();34 void readReq(istream& s); 27 35 36 TOIIter doQuery(); 37 38 bool processRequest(string line); 39 void registerReqHandler(RequestHandler*); 40 virtual bool processTOIReq(string line, string toiname, TOIKind toi, int index, 41 bool interp, bool repet, bool flag, bool notrig); 42 virtual bool processOption(string keyw, string args); 28 43 29 44 protected: 30 45 TOIIter iter; 46 list<RequestHandler*> handlers; 31 47 }; 32 48
Note:
See TracChangeset
for help on using the changeset viewer.