libkipr  1.0.0
magneto.hpp
Go to the documentation of this file.
1 #ifndef _KIPR_MAGNETO_MAGNETO_HPP_
2 #define _KIPR_MAGNETO_MAGNETO_HPP_
3 
4 #include "kipr/sensor/sensor.hpp"
5 
6 namespace kipr
7 {
8  namespace magneto
9  {
10  class Magneto
11  {
12  public:
13  static short x();
14  static short y();
15  static short z();
16  };
17 
18  class MagnetoX : public sensor::Sensor<short>
19  {
20  public:
21  virtual short value() const;
22  };
23 
24  class MagnetoY : public sensor::Sensor<short>
25  {
26  public:
27  virtual short value() const;
28  };
29 
30  class MagnetoZ : public sensor::Sensor<short>
31  {
32  public:
33  virtual short value() const;
34  };
35  }
36 }
37 
38 #endif
Definition: magneto.hpp:19
virtual short value() const
Definition: magneto.hpp:25
virtual short value() const
Definition: magneto.hpp:31
virtual short value() const
Definition: magneto.hpp:11
Definition: sensor.hpp:23
Definition: accel.hpp:7