|
API Documentation v0.0.1
|
Inheritance diagram for EwiPanel:Static Public Member Functions | |
| static EwiPanel * | getInstance (int startIndex=0, CRGB *ledStrip=nullptr) |
| Gets the singleton instance of the EwiPanel class. | |
Additional Inherited Members | |
Public Member Functions inherited from Panel | |
| virtual int | getStartIndex () const |
| Gets the start index of this panel on the LED strip. | |
| virtual int | getLedCount () const |
| Gets the number of LEDs in this panel. | |
| virtual const Led * | getLedTable () const |
| Gets the LED table for this panel. | |
| virtual CRGB * | getLedStrip () const |
| Gets the LED strip for this panel. | |
Protected Member Functions inherited from Panel | |
| Panel () | |
| Protected constructor to prevent direct instantiation. | |
| void | setInstrLights (uint16_t newValue, const CRGB &color=NVIS_GREEN_A) |
| Set the color of all instrument backlight LEDs. | |
| void | setConsoleLights (uint16_t newValue, const CRGB &color=NVIS_GREEN_A) |
| Sets the color of all console backlight LEDs. | |
| void | setIndicatorColor (LedRole role, const CRGB &color) |
| Sets the color of LEDs with a specific role. | |
| void | setFloodlights (uint16_t newValue) |
| Sets the brightness of floodlight LEDs. | |
| void | setAllLightsOff () |
| Turns off all lights in this panel, irrespective of their role, and resets brightness state. | |
Protected Attributes inherited from Panel | |
| int | panelStartIndex |
| int | ledCount |
| const Led * | ledTable |
| CRGB * | ledStrip |
| uint16_t | current_backl_brightness |
| uint16_t | current_console_brightness |
| uint16_t | current_flood_brightness |
| Panel * | nextPanel |
Definition at line 58 of file 1A4_L_EWI.h.
|
inlinestatic |
Gets the singleton instance of the EwiPanel class.
| startIndex | The starting index for this panel's LEDs on the strip |
| ledStrip | Pointer to the LED strip array |
Definition at line 67 of file 1A4_L_EWI.h.