|
FastLED 3.10.8
|
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_NO_EXCEPT | |
| Construct from state only (no error) | |
| DriverState (Value v, const fl::string &e) FL_NO_EXCEPT | |
| Construct from state and error message. | |
| operator Value () const FL_NO_EXCEPT | |
| Implicit conversion to Value for backward compatibility. | |
| bool | operator!= (Value v) const FL_NO_EXCEPT |
| bool | operator== (Value v) const FL_NO_EXCEPT |
| Comparison operators for backward compatibility. | |
Public Attributes | |
| fl::string | error |
| Error message (only populated when state == ERROR) | |
| Value | state |
| Current driver state. | |