herald
2.0.0
herald
include
herald
datatype
sensor_state.h
1
// Copyright 2020-2021 Herald Project Contributors
2
// SPDX-License-Identifier: Apache-2.0
3
//
4
5
#ifndef HERALD_SENSOR_STATE_H
6
#define HERALD_SENSOR_STATE_H
7
8
namespace
herald
{
9
namespace
datatype {
10
11
enum class
SensorState
: short {
13
on
,
15
off
,
17
unavailable
18
};
19
20
}
// end namespace
21
}
// end namespace
22
23
#endif
herald::datatype::SensorState
SensorState
Definition:
sensor_state.h:11
herald::datatype::SensorState::off
@ off
Sensor is powered off, inactive and not operational.
herald::datatype::SensorState::unavailable
@ unavailable
Sensor is not available.
herald::datatype::SensorState::on
@ on
Sensor is powered on, active and operational.
herald
Acts as a non-global memory arena for arbitrary classes.
Definition:
aggregates.h:15
Generated by
1.9.1