iSpike
2.1
Spike conversion library for robotics
|
00001 #ifndef ANGLEWRITER_HPP_ 00002 #define ANGLEWRITER_HPP_ 00003 00004 #include <iSpike/Writer/Writer.hpp> 00005 00006 namespace ispike { 00007 00009 class AngleWriter : public Writer{ 00010 public: 00011 AngleWriter(){ angle = 0.0; } 00012 virtual ~AngleWriter(){} 00013 00015 virtual void setAngle(double angle) = 0; 00016 00018 double getAngle() { return angle; } 00019 00021 virtual void setDegreeOfFreedom(int dof) = 0; 00022 00023 00024 protected: 00026 double angle; 00027 00029 int degreeOfFreedom; 00030 }; 00031 00032 } 00033 00034 #endif /* ANGLEWRITER_HPP_ */