![]() |
EduArt Sensor Ring Library 4.0.0
|
Board type enum for sensor board hardware variants (matches firmware). More...
#include <ostream>#include <string>#include "sensorring/platform/SensorringExport.hpp"Go to the source code of this file.
Enumerations | |
| enum class | eduart::sensorring::board::SensorBoardType { Sidepanel = 0x00 , Headlight = 0x01 , Taillight = 0x02 , Minipanel = 0x03 , Undefined = 0xff } |
| Hardware variant of a sensor board. More... | |
Functions | |
| SENSORRING_EXPORT std::string | eduart::sensorring::board::toString (SensorBoardType type) noexcept |
| Format sensor board type as string. | |
| SENSORRING_EXPORT std::ostream & | eduart::sensorring::board::operator<< (std::ostream &os, const SensorBoardType type) noexcept |
| Stream sensor board type as string. | |
Board type enum for sensor board hardware variants (matches firmware).
|
strong |
Hardware variant of a sensor board.
The numeric values match the board-type field reported by the sensor board firmware during enumeration.
| Enumerator | |
|---|---|
| Sidepanel | Sidepanel board. |
| Headlight | Headlight board. |
| Taillight | Taillight board. |
| Minipanel | Minipanel board. |
| Undefined | Board type could not be determined. |
|
noexcept |
Stream sensor board type as string.
| [in] | os | Output stream. |
| [in] | type | Sensor board type to print. |
|
noexcept |
Format sensor board type as string.