00001 00007 #ifndef ROAD_SOURCE_INTF_H 00008 #define ROAD_SOURCE_INTF_H 00009 00010 // include the STL vector 00011 #include <vector> 00012 00013 #include <utils/Time.h> 00014 #include <utils/Linear.h> 00015 #include <utils/Interface.h> 00016 00026 UTILS_INTERFACE(RoadSource) { 00027 public: 00032 virtual ~RoadSource() {} 00033 00050 virtual bool getPoints(utils::Time& time, 00051 std::vector<utils::Vec3d>& points, 00052 bool blocking = true) = 0; 00053 00054 // declare the standard interface static methods 00055 UTILS_INTF_DECL(RoadSource); 00056 }; 00057 00058 #endif