EduArt Sensor Ring Library 3.0.0
Loading...
Searching...
No Matches
DeviceType.hpp
Go to the documentation of this file.
1// Copyright (c) 2026 EduArt Robotik GmbH
2
9
10#pragma once
11
12#include <ostream>
13#include <string>
14
15#include "sensorring/platform/SensorringExport.hpp"
16
17namespace eduart {
18
19namespace device {
20
35
40SENSORRING_EXPORT std::string toString(DeviceType type) noexcept;
41
48SENSORRING_EXPORT std::ostream& operator<<(std::ostream& os, const DeviceType type) noexcept;
49
50} // namespace device
51
52} // namespace eduart
SENSORRING_EXPORT std::ostream & operator<<(std::ostream &os, DeviceState state) noexcept
Output stream operator for DeviceState.
SENSORRING_EXPORT std::string toString(DeviceState state) noexcept
Convert a DeviceState value to its string representation.
DeviceType
Supported device hardware types used for device registration and grouping.
Definition DeviceType.hpp:25
@ HTPA32
Thermal sensor (HTPA32).
Definition DeviceType.hpp:29
@ UNDEFINED
Undefined device type.
Definition DeviceType.hpp:33
@ WS2812b
LED strip (WS2812b).
Definition DeviceType.hpp:31
@ VL53L8CX
Time-of-flight sensor (VL53L8CX).
Definition DeviceType.hpp:27