libwallaby
v23
The wallaby standard library
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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
17
class
EXPORT_SYM
Sensor
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
Definition:
sensor.hpp:17
export.h
Sensor::value
virtual T value() const =0
EXPORT_SYM
#define EXPORT_SYM
Definition:
export.h:14
Sensor::~Sensor
virtual ~Sensor()
Definition:
sensor.hpp:21
include
wallaby
sensor.hpp
Generated on Fri Feb 10 2017 22:21:49 for libwallaby by
1.8.8