Enumeration of supported device hardware types.
More...
#include <ostream>
#include <string>
#include "sensorring/platform/SensorringExport.hpp"
Go to the source code of this file.
Enumeration of supported device hardware types.
- Author
- EduArt Robotik GmbH
- Date
- 2025-02-16
◆ DeviceType
Supported device hardware types used for device registration and grouping.
| Enumerator |
|---|
| VL53L8CX | Time-of-flight sensor (VL53L8CX).
|
| HTPA32 | Thermal sensor (HTPA32).
|
| WS2812b | LED strip (WS2812b).
|
| UNDEFINED | Undefined device type.
|
◆ operator<<()
| SENSORRING_EXPORT std::ostream & eduart::device::operator<< |
( |
std::ostream & | os, |
|
|
const DeviceType | type ) |
|
noexcept |
Stream device type as string.
- Parameters
-
| [in] | os | Output stream. |
| [in] | type | Device type to print. |
- Returns
- Reference to os.
◆ toString()
| SENSORRING_EXPORT std::string eduart::device::toString |
( |
DeviceType | type | ) |
|
|
noexcept |
Format device type as string.
- Returns
- Device type string.