00001 00005 #ifndef VEH_POSE_DEST_LOGGER_H 00006 #define VEH_POSE_DEST_LOGGER_H 00007 00008 #include <vector> 00009 #include <utils/Logger.h> 00010 00011 #include <VehPoseDest/VehPoseStructs.h> 00012 #include <VehPoseDest/VehPose.h> 00013 00014 namespace utils { 00015 class ConfigFile; 00016 class Vec3d; 00017 }; 00018 00025 class VehPoseLogger { 00026 public: 00033 bool open(const char* name, const utils::ConfigFile* header=NULL); 00034 00043 bool open(utils::ConfigFile& header); 00044 00050 bool logPoints(utils::Time time, const VehPose& pose); 00051 00052 private: 00053 utils::Logger _logger; 00054 VehPoseDataStruct _output_area; 00055 }; 00056 00057 #endif