![]() |
EduArt Sensor Ring Library 4.0.0
|
Enumeration of supported device hardware types. More...
#include <ostream>#include <string>#include "sensorring/platform/SensorringExport.hpp"Go to the source code of this file.
Enumerations | |
| enum class | eduart::sensorring::device::DeviceType { SensorBoard , VL53L8CX , HTPA32 , WS2812b , TMF8829 , Undefined , AnyDepth , AnyThermal , AnyLight } |
| Supported device hardware types used for device registration and grouping. More... | |
Functions | |
| SENSORRING_EXPORT std::string | eduart::sensorring::device::toString (DeviceType type) noexcept |
| Format device type as string. | |
| SENSORRING_EXPORT bool | eduart::sensorring::device::isCategory (DeviceType type) noexcept |
| Returns true if type is a category wildcard (AnyDepth, AnyThermal, AnyLight). | |
| SENSORRING_EXPORT bool | eduart::sensorring::device::deviceMatchesExpected (DeviceType actual, DeviceType expected) noexcept |
| Returns true if actual matches expected exactly, or if expected is a category wildcard and actual belongs to that category. | |
| SENSORRING_EXPORT std::ostream & | eduart::sensorring::device::operator<< (std::ostream &os, const DeviceType type) noexcept |
| Stream device type as string. | |
Enumeration of supported device hardware types.
|
strong |
Supported device hardware types used for device registration and grouping.
|
noexcept |
Stream device type as string.
| [in] | os | Output stream. |
| [in] | type | Device type to print. |
|
noexcept |
Format device type as string.