00001
00005 #ifndef ROAD_DEST_LOGGER_H
00006 #define ROAD_DEST_LOGGER_H
00007
00008 #include <vector>
00009 #include <utils/Logger.h>
00010
00011 #include <RoadDest/RoadStructs.h>
00012
00013 namespace utils {
00014 class ConfigFile;
00015 class Vec3d;
00016 };
00017
00024 class RoadLogger {
00025 public:
00032 bool open(const char* name, const utils::ConfigFile* header=NULL);
00033
00042 bool open(utils::ConfigFile& header);
00043
00049 bool logPoints(utils::Time time, const std::vector< utils::Vec3d > & points);
00050
00051 private:
00052 utils::Logger _logger;
00053 RoadDataStruct _output_area;
00054 };
00055
00056 #endif