iSpike  2.1
Spike conversion library for robotics
D:/Home/Programs/iSpike/include/iSpike/Reader/AngleReader.hpp
Go to the documentation of this file.
00001 #ifndef ANGLEREADER_HPP_
00002 #define ANGLEREADER_HPP_
00003 
00004 //iSpike includes
00005 #include <iSpike/Reader/Reader.hpp>
00006 
00007 namespace ispike {
00009         class AngleReader : public Reader {
00010                 public:
00011                         AngleReader() { angle = 0.0; }
00012                         virtual ~AngleReader(){}
00013 
00015                         double getAngle() { return angle; }
00016 
00018                         void setDegreeOfFreedom(unsigned dof){ degreeOfFreedom = dof; }
00019 
00021                         void setAngle(double angle) { this->angle = angle; }
00022 
00023 
00024                 protected:
00026                         double angle;
00027 
00029                         unsigned degreeOfFreedom;
00030 
00031         };
00032 
00033 }
00034 
00035 #endif /* ANGLEREADER_HPP_ */
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines