![]() |
Doly C++ SDK v1.00
|
Doly LED control and event API. More...
Files | |
| file | LedControl.h |
| Public API for Doly LED control. | |
| file | LedEvent.h |
| Event registration helpers for the LED subsystem. | |
Classes | |
| struct | LedActivity |
| Describes a single LED activity (color and fade parameters). More... | |
| class | LedEventListener |
| Observer interface for receiving LED completion and error events. More... | |
Enumerations | |
| enum class | LedSide : uint8_t { LedSide::BOTH , LedSide::LEFT , LedSide::RIGHT } |
| Which LED(s) to address. More... | |
| enum class | LedActivityState : uint8_t { LedActivityState::FREE , LedActivityState::RUNNING , LedActivityState::COMPLETED } |
| Activity lifecycle state. More... | |
| enum class | LedErrorType : uint8_t { LedErrorType::ABORT } |
| Error type reported by the LED subsystem. More... | |
Doly LED control and event API.
LED control module.
|
strong |
|
strong |
Error type reported by the LED subsystem.
| Enumerator | |
|---|---|
| ABORT | Activity was aborted/cancelled. |
|
strong |
Which LED(s) to address.
| Enumerator | |
|---|---|
| BOTH | Apply to both sides (left and right). |
| LEFT | Left LED. |
| RIGHT | Right LED. |