libwallaby  v24
The wallaby standard library
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 INCLUDE_WALLABY_SENSOR_HPP_
9 #define INCLUDE_WALLABY_SENSOR_HPP_
10 
11 #include "export.h"
12 
13 template<typename T>
14 #ifdef SWIG
15 class Sensor
16 #else
18 #endif
19 {
20 public:
21  virtual ~Sensor() {}
22 
23  virtual T value() const = 0;
24 };
25 
26 
27 #endif /* INCLUDE_WALLABY_SENSOR_HPP_ */
Sensor::~Sensor
virtual ~Sensor()
Definition: sensor.hpp:21
Sensor::value
virtual T value() const =0
EXPORT_SYM
#define EXPORT_SYM
Definition: export.h:14
Sensor
Definition: sensor.hpp:17
export.h