iSpike
2.1
Spike conversion library for robotics
|
00001 #ifndef FILEANGLEWRITER_HPP_ 00002 #define FILEANGLEWRITER_HPP_ 00003 00004 #include <iSpike/Writer/AngleWriter.hpp> 00005 00006 namespace ispike { 00007 00009 class FileAngleWriter : public AngleWriter { 00010 public: 00011 FileAngleWriter(); 00012 virtual ~FileAngleWriter(){} 00013 void initialize(map<string, Property>& properties); 00014 void setAngle(double angle); 00015 void setDegreeOfFreedom(int dof); 00016 void setProperties(map<string, Property>& properties); 00017 void start() {} 00018 00019 private: 00020 //========================== VARIABLES ========================= 00022 std::string fileName; 00023 00024 //=========================== METHODS ========================== 00025 void writeAngleToFile(); 00026 void workerFunction() {} 00027 00028 }; 00029 00030 } 00031 #endif /* FILEANGLEWRITER_HPP_ */