EduArt Sensor Ring Library 3.0.0
Loading...
Searching...
No Matches
SensorBoardType.hpp
Go to the documentation of this file.
1// Copyright (c) 2026 EduArt Robotik GmbH
8
9#pragma once
10
11#include <ostream>
12#include <string>
13
14#include "sensorring/platform/SensorringExport.hpp"
15
16namespace eduart {
17
18namespace device {
19
21enum class SensorBoardType {
22 Sidepanel = 0x00,
23 Headlight = 0x01,
24 Taillight = 0x02,
25 Minipanel = 0x03,
26 Undefined = 0xff
27};
28
33SENSORRING_EXPORT std::string toString(SensorBoardType type) noexcept;
34
41SENSORRING_EXPORT std::ostream& operator<<(std::ostream& os, const SensorBoardType type) noexcept;
42
43} // namespace device
44
45} // 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.
SensorBoardType
Definition SensorBoardType.hpp:21