EduArt Sensor Ring Library 3.0.0
Loading...
Searching...
No Matches
DeviceType.hpp File Reference

Enumeration of supported device hardware types. More...

#include <ostream>
#include <string>
#include "sensorring/platform/SensorringExport.hpp"
Include dependency graph for DeviceType.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  eduart::device::DeviceType { VL53L8CX , HTPA32 , WS2812b , UNDEFINED }
 Supported device hardware types used for device registration and grouping. More...

Functions

SENSORRING_EXPORT std::string eduart::device::toString (DeviceType type) noexcept
 Format device type as string.
SENSORRING_EXPORT std::ostream & eduart::device::operator<< (std::ostream &os, const DeviceType type) noexcept
 Stream device type as string.

Detailed Description

Enumeration of supported device hardware types.

Author
EduArt Robotik GmbH
Date
2025-02-16

Enumeration Type Documentation

◆ DeviceType

enum class eduart::device::DeviceType
strong

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.

Function Documentation

◆ operator<<()

SENSORRING_EXPORT std::ostream & eduart::device::operator<< ( std::ostream & os,
const DeviceType type )
noexcept

Stream device type as string.

Parameters
[in]osOutput stream.
[in]typeDevice 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.