Main Page | Namespace List | Class List | Directories | File List | Class Members | File Members

TextGen.H

Go to the documentation of this file.
00001 #ifndef TextGen_h
00002 #define TextGen_h
00003 
00004 #include <iostream>
00005 #include <string>
00006 #include "BQStructs.H"
00007 #include "DBInterface.H"
00008 #include "PathSearchAI.H"
00009 
00010 using namespace std;
00012 class TextGen
00013 {
00014 public: 
00016   TextGen(DBInterface* db);
00017   ~TextGen(){};
00019   string generateText(path_t* p);
00020   string testText(path_t* p);
00022   string dbltostr3(double d);
00023 
00025   pair<int, double> TextGen::findAngleAndTurn(double m_x0, double m_y0, double m_x1, double m_y1, double m_x2, double m_y2);
00026  
00028   int TextGen::addQuantPath(path_t* p, int stRank, int roRank, int trRank, int shRank);
00030   int TextGen::addQuantSegFeedback(string rid, int stRank, int roRank, int trRank, int shRank);
00032   int TextGen::addQualFeedback(string routeid, string comm, string commType, string auth);
00034   int TextGen::addQuantFeedbackHelper(vector<seg_t*>* t, int stRank, int roRank, int trRank, int shRank);
00035 
00036 protected: 
00037 private:
00038   
00040   DBInterface *_db;
00041 
00042 };
00043 
00044 #endif

Generated on Mon May 16 11:08:36 2005 for BikeQuest by  doxygen 1.4.0