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
21
class
EXPORT_SYM
Sensor
22
#endif
23
{
24
public
:
25
virtual
~Sensor
() {}
26
27
virtual
T
value
()
const
= 0;
28
};
29
}
30
}
31
32
#endif
kipr::sensor::Sensor
Definition:
sensor.hpp:23
kipr::sensor::Sensor::value
virtual T value() const =0
kipr::sensor::Sensor::~Sensor
virtual ~Sensor()
Definition:
sensor.hpp:25
export.h
EXPORT_SYM
#define EXPORT_SYM
Definition:
export.h:7
kipr
Definition:
accel.hpp:7
module
sensor
public
kipr
sensor
sensor.hpp
Generated by
1.9.1