|
FastLED 3.9.15
|
Driver state with optional error message.
#include <driver.h>
Collaboration diagram for fl::IChannelDriver::DriverState:Public Types | |
| enum | Value { READY , BUSY , DRAINING , ERROR } |
Public Member Functions | |
| DriverState (Value v) FL_NOEXCEPT | |
| Construct from state only (no error) | |
| DriverState (Value v, const fl::string &e) FL_NOEXCEPT | |
| Construct from state and error message. | |
| operator Value () const FL_NOEXCEPT | |
| Implicit conversion to Value for backward compatibility. | |
| bool | operator!= (Value v) const FL_NOEXCEPT |
| bool | operator== (Value v) const FL_NOEXCEPT |
| Comparison operators for backward compatibility. | |
Public Attributes | |
| fl::string | error |
| Error message (only populated when state == ERROR) | |
| Value | state |
| Current driver state. | |