Treehopper C++ API
PressureSensor.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Libraries/Treehopper.Libraries.h
"
4
#include "
Libraries/Pollable.h
"
5
6
using namespace
Treehopper::Libraries
;
7
8
namespace
Treehopper
{
9
namespace
Libraries {
10
namespace
Sensors {
11
namespace
Pressure {
12
class
LIBRARIES_API
PressureSensor
:
virtual
public
Pollable
{
13
public
:
14
double
bar();
15
16
double
atm();
17
18
double
psi();
19
20
double
pascal();
21
22
protected
:
23
double
_pascal;
24
};
25
}
26
}
27
}
28
}
Treehopper::Libraries
Definition:
Dm632.h:9
Pollable.h
LIBRARIES_API
#define LIBRARIES_API
Definition:
Treehopper.Libraries.h:17
Treehopper
Definition:
AdcPin.h:3
Treehopper::Libraries::Sensors::Pressure::PressureSensor
Definition:
PressureSensor.h:12
Treehopper::Libraries::Pollable
Definition:
Pollable.h:8
Treehopper.Libraries.h
C++
API
inc
Libraries
Sensors
Pressure
PressureSensor.h