|
| int | getLedCount () const override |
| | Gets the number of LEDs in this panel.
|
| |
| const Led * | getLedTable () const override |
| | Gets the LED table for this panel.
|
| |
| virtual int | getStartIndex () const |
| | Gets the start index of this panel on the LED strip.
|
| |
| virtual CRGB * | getLedStrip () const |
| | Gets the LED strip for this panel.
|
| |
Definition at line 48 of file 4A2A1_LDG_GEAR_PANEL.h.
◆ getInstance()
| static LdgGearPanel * LdgGearPanel::getInstance |
( |
int | startIndex = 0, |
|
|
CRGB * | ledStrip = nullptr ) |
|
inlinestatic |
Gets the singleton instance of the LdgGearPanel class.
- Parameters
-
| startIndex | The starting index for this panel's LEDs on the strip |
| ledStrip | Pointer to the LED strip array |
- Returns
- Pointer to the singleton instance
- See also
- This method is called by the main .ino file's addPanel() method to create the panel instance
Definition at line 57 of file 4A2A1_LDG_GEAR_PANEL.h.
57 {
58 if (!instance) {
60 }
61 return instance;
62 }
◆ getLedCount()
| int LdgGearPanel::getLedCount |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the number of LEDs in this panel.
- Returns
- The LED count
Reimplemented from Panel.
Definition at line 64 of file 4A2A1_LDG_GEAR_PANEL.h.
64 {
65 return LDG_GEAR_LED_COUNT;
66 }
◆ getLedTable()
| const Led * LdgGearPanel::getLedTable |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the LED table for this panel.
- Returns
- Pointer to the LED table
Reimplemented from Panel.
Definition at line 68 of file 4A2A1_LDG_GEAR_PANEL.h.
68 {
69 return ldgGearLedTable;
70 }
The documentation for this class was generated from the following file: