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

MapGenerator Class Reference

#include <MapGenerator.H>

Collaboration diagram for MapGenerator:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class that activates the MapGeneration process through the use of RouteMaker and the database.


Public Member Functions

 MapGenerator (int argc, char **argv, int tiles, DBInterface *db)
virtual ~MapGenerator ()
string drawRoute (path_t *route, int zoom, int argc, char **argv, int sX, int sY, string routeID)
 Method that takes in the appropriate parameters, formats them and then activates RouteMaker to produce the visual of the bike route.

Private Attributes

RouteMakerm_rMaker
 Pointer to an instance of RouteMaker, which assists in the creation visual bike routes on the map.
DBInterfacem_db
 Pointer to the database, where the class gets the data to show both the map and the current route.


Constructor & Destructor Documentation

MapGenerator::MapGenerator int  argc,
char **  argv,
int  tiles,
DBInterface db
 

MapGenerator::~MapGenerator  )  [virtual]
 


Member Function Documentation

string MapGenerator::drawRoute path_t route,
int  zoom,
int  argc,
char **  argv,
int  sX,
int  sY,
string  routeID
 

Method that takes in the appropriate parameters, formats them and then activates RouteMaker to produce the visual of the bike route.

Here is the call graph for this function:


Member Data Documentation

DBInterface* MapGenerator::m_db [private]
 

Pointer to the database, where the class gets the data to show both the map and the current route.

RouteMaker* MapGenerator::m_rMaker [private]
 

Pointer to an instance of RouteMaker, which assists in the creation visual bike routes on the map.


The documentation for this class was generated from the following files:
Generated on Mon May 16 11:08:52 2005 for BikeQuest by  doxygen 1.4.0