libwallaby  v24
The wallaby standard library
magneto.hpp
Go to the documentation of this file.
1 /*
2  * magneto.hpp
3  *
4  * Created on: Nov 5, 2015
5  * Author: Joshua Southerland
6  */
7 
8 #ifndef INCLUDE_WALLABY_MAGNETO_HPP_
9 #define INCLUDE_WALLABY_MAGNETO_HPP_
10 
11 #include "sensor.hpp"
12 
13 class Magneto
14 {
15 public:
16  static short x();
17  static short y();
18  static short z();
19  static bool calibrate();
20 private:
21 };
22 
23 class MagnetoX : public Sensor<short>
24 {
25 public:
26  virtual short value() const;
27 };
28 
29 class MagnetoY : public Sensor<short>
30 {
31 public:
32  virtual short value() const;
33 };
34 
35 class MagnetoZ : public Sensor<short>
36 {
37 public:
38  virtual short value() const;
39 };
40 
41 
42 #endif /* INCLUDE_WALLABY_MAGNETO_HPP_ */
MagnetoX::value
virtual short value() const
MagnetoX
Definition: magneto.hpp:23
MagnetoY::value
virtual short value() const
Magneto::z
static short z()
MagnetoZ::value
virtual short value() const
Magneto
Definition: magneto.hpp:13
Magneto::y
static short y()
MagnetoZ
Definition: magneto.hpp:35
Magneto::x
static short x()
sensor.hpp
MagnetoY
Definition: magneto.hpp:29
Magneto::calibrate
static bool calibrate()
Sensor
Definition: sensor.hpp:17