15#include "sensorring/platform/SensorringExport.hpp"
DeviceState
Unified lifecycle and runtime state of a device.
Definition DeviceState.hpp:30
@ ReceiveError
A CAN receive error was detected.
Definition DeviceState.hpp:35
@ Shutdown
Device has been shut down and should not be used.
Definition DeviceState.hpp:38
@ Initialized
Device has been configured but not yet started.
Definition DeviceState.hpp:32
@ Error
General unrecoverable device error.
Definition DeviceState.hpp:37
@ ProcessError
An error occurred while processing received data.
Definition DeviceState.hpp:36
@ Ok
Device is measuring and data is valid.
Definition DeviceState.hpp:34
@ Idle
Device is running but not actively measuring.
Definition DeviceState.hpp:33
SENSORRING_EXPORT std::ostream & operator<<(std::ostream &os, ResolutionMode mode) noexcept
Output stream operator for the ResolutionMode enum class members.
SENSORRING_EXPORT std::string toString(ResolutionMode mode) noexcept
Function to convert the ResolutionMode enum class members to string.