Ardour
9.0-pre0-380-gbbdb6b0e63
|
#include <types.h>
Public Types | |
enum | state_t { none , off , flashing , on } |
Public Member Functions | |
LedState () | |
LedState (bool yn) | |
LedState (state_t state) | |
LedState & | operator= (state_t s) |
bool | operator== (const LedState &other) const |
bool | operator!= (const LedState &other) const |
state_t | state () const |
Private Attributes | |
state_t | _state |
This started off as an enum, but it got really annoying typing ? on : off
Definition at line 37 of file surfaces/us2400/types.h.
Enumerator | |
---|---|
none | |
off | |
flashing | |
on |
Definition at line 40 of file surfaces/us2400/types.h.
|
inline |
Definition at line 41 of file surfaces/us2400/types.h.
|
inline |
Definition at line 42 of file surfaces/us2400/types.h.
|
inline |
Definition at line 43 of file surfaces/us2400/types.h.
|
inline |
Definition at line 52 of file surfaces/us2400/types.h.
Definition at line 45 of file surfaces/us2400/types.h.
|
inline |
Definition at line 47 of file surfaces/us2400/types.h.
|
inline |
Definition at line 57 of file surfaces/us2400/types.h.
|
private |
Definition at line 60 of file surfaces/us2400/types.h.