libkipr  1.0.0
sensor.hpp
Go to the documentation of this file.
1 /*
2  * sensor.hpp
3  *
4  * Created on: Nov 12, 2015
5  * Author: Joshua Southerland
6  */
7 
8 #ifndef _KIPR_SENSOR_SENSOR_HPP_
9 #define _KIPR_SENSOR_SENSOR_HPP_
10 
11 #include "kipr/export/export.h"
12 
13 namespace kipr
14 {
15  namespace sensor
16  {
17  template<typename T>
18 #ifdef SWIG
19  class Sensor
20 #else
22 #endif
23  {
24  public:
25  virtual ~Sensor() {}
26 
27  virtual T value() const = 0;
28  };
29  }
30 }
31 
32 #endif
Definition: sensor.hpp:23
virtual T value() const =0
virtual ~Sensor()
Definition: sensor.hpp:25
#define EXPORT_SYM
Definition: export.h:7
Definition: accel.hpp:7