herald
2.0.0
herald
include
herald
datatype
sensor_type.h
1
// Copyright 2020-2021 Herald Project Contributors
2
// SPDX-License-Identifier: Apache-2.0
3
//
4
5
#ifndef HERALD_SENSOR_TYPE_H
6
#define HERALD_SENSOR_TYPE_H
7
8
#include <string>
9
10
namespace
herald
{
11
namespace
datatype {
12
14
enum class
SensorType
: short {
16
BLE
,
18
GPS
,
20
BEACON
,
22
ACCELEROMETER
,
24
ULTRASOUND
,
26
OTHER
27
};
28
29
std::string str(
SensorType
t) noexcept;
30
31
}
// end namespace
32
}
// end namespace
33
34
#endif
herald::datatype::SensorType
SensorType
Sensor type as qualifier for target identifier.
Definition:
sensor_type.h:14
herald::datatype::SensorType::OTHER
@ OTHER
Future / other.
herald::datatype::SensorType::BEACON
@ BEACON
Physical beacon, e.g. iBeacon.
herald::datatype::SensorType::ULTRASOUND
@ ULTRASOUND
Ultrasound audio beacon.
herald::datatype::SensorType::ACCELEROMETER
@ ACCELEROMETER
Accelerometer.
herald::datatype::SensorType::GPS
@ GPS
GPS location sensor.
herald::datatype::SensorType::BLE
@ BLE
Bluetooth Low Energy (BLE)
herald
Acts as a non-global memory arena for arbitrary classes.
Definition:
aggregates.h:15
Generated by
1.9.1