An interface for elements that draw to a display. More...
#include <Display/DisplayElement.hpp>
Public Member Functions | |
| virtual | ~DisplayElement () |
| virtual void | draw ()=0 |
| Draw this DisplayElement to the display buffer. More... | |
| DisplayInterface & | getDisplay () |
| Get a reference to the display that this element draws to. More... | |
| const DisplayInterface & | getDisplay () const |
| Get a const reference to the display that this element draws to. More... | |
Static Public Member Functions | |
| static DoublyLinkedList< DisplayElement > & | getAll () |
| Get the list of all DisplayElement instances. More... | |
Protected Member Functions | |
| DisplayElement (DisplayInterface &display) | |
| Create a new DisplayElement. More... | |
Protected Attributes | |
| DisplayInterface & | display |
| DisplayElement * | next |
| DisplayElement * | previous |
Static Protected Attributes | |
| static DoublyLinkedList< DisplayElement > | elements |
An interface for elements that draw to a display.
Definition at line 11 of file DisplayElement.hpp.
|
inlineprotected |
Create a new DisplayElement.
| display | The display that this display element draws to. |
Definition at line 19 of file DisplayElement.hpp.
|
inlinevirtual |
Definition at line 30 of file DisplayElement.hpp.
|
pure virtual |
Draw this DisplayElement to the display buffer.
Implemented in AnalogVUDisplay, LCDDisplay, BankDisplay, VUDisplay, VPotDisplay, SelectorDisplay, TimeDisplayDisplay, and NoteBitmapDisplay.
|
inline |
Get a reference to the display that this element draws to.
Definition at line 36 of file DisplayElement.hpp.
|
inline |
Get a const reference to the display that this element draws to.
Definition at line 38 of file DisplayElement.hpp.
|
inlinestatic |
Get the list of all DisplayElement instances.
Definition at line 41 of file DisplayElement.hpp.
|
protected |
Definition at line 44 of file DisplayElement.hpp.
|
staticprotected |
Definition at line 46 of file DisplayElement.hpp.
|
protectedinherited |
Definition at line 305 of file LinkedList.hpp.
|
protectedinherited |
Definition at line 306 of file LinkedList.hpp.
1.8.16