iSpike
2.1
Spike conversion library for robotics
|
00001 #ifndef FILEANGLEREADER_HPP_ 00002 #define FILEANGLEREADER_HPP_ 00003 00004 #include <iSpike/Reader/AngleReader.hpp> 00005 #include <string> 00006 #include <map> 00007 00008 using namespace std; 00009 00010 namespace ispike { 00011 00013 class FileAngleReader : public AngleReader { 00014 00015 public: 00016 00018 FileAngleReader(); 00019 00020 ~FileAngleReader(); 00021 00022 void initialize(map<string, Property>& properties); 00023 void setProperties(map<string, Property>& properties); 00024 00025 void start() {}//No need for thread since file only needs to be read once 00026 00027 private: 00028 void workerFunction() {} 00029 void readAngleFromFile(string& fileName); 00030 }; 00031 00032 } 00033 00034 #endif /* FILEANGLEREADER_HPP_ */