Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

WeatherManager Class Reference

#include <WeatherManager.H>

List of all members.

Public Member Functions

void updateWeather ()
 update the weather database


Detailed Description

The Weather Manager first locks the weather table, so anyone trying to access weather will have to wait. Then, it clears the whole table. After that, it queries the event database all distinct zip code, time pairs where times are truncated to the hour. //TODO to the hour is too specific, we don't even get weather with that precision in the first place. Then it uses the Weather component to lookup the weather for each of those pairs and store it in the weather table in the database. Upon committing the transaction, the weather table is unlocked.


Member Function Documentation

void WeatherManager::updateWeather  ) 
 

update the weather database

Update the weather database with the latest weather reports for the times and locations of the events currently in the database


The documentation for this class was generated from the following files:
Generated on Wed May 17 22:28:21 2006 for GeoEvents by  doxygen 1.4.2