#include <Display/MCU/VPotDisplay.hpp>
template<class VPot_t = Interfaces::MCU::IVPot &>
class MCU::VPotDisplay< VPot_t >
Displays the position of a MCU V-Pot.
- Examples
- MCU-OLED-SSD1306-x2.ino, and MCU-OLED-SSD1306.ino.
Definition at line 18 of file VPotDisplay.hpp.
|
void | enable () |
| Enable this display element: insert it into the linked list of instances, so it gets drawn to the display.
|
|
void | disable () |
| Disable this display element: remove it from the linked list of instances, so it no longer gets drawn to the display.
|
|
bool | isEnabled () const |
| Check if this display element is enabled.
|
|
static void | enable (DisplayElement *element) |
| Enable this display element: insert it into the linked list of instances, so it gets drawn to the display.
|
|
static void | enable (DisplayElement &element) |
| Enable this display element: insert it into the linked list of instances, so it gets drawn to the display.
|
|
template<class U , size_t N> |
static void | enable (U(&array)[N]) |
| Enable this display element: insert it into the linked list of instances, so it gets drawn to the display.
|
|
static void | disable (DisplayElement *element) |
| Disable this display element: remove it from the linked list of instances, so it no longer gets drawn to the display.
|
|
static void | disable (DisplayElement &element) |
| Disable this display element: remove it from the linked list of instances, so it no longer gets drawn to the display.
|
|
template<class U , size_t N> |
static void | disable (U(&array)[N]) |
| Disable this display element: remove it from the linked list of instances, so it no longer gets drawn to the display.
|
|
◆ VPotDisplay()
template<class VPot_t = Interfaces::MCU::IVPot &>
◆ draw()
template<class VPot_t = Interfaces::MCU::IVPot &>
◆ getDirty()
template<class VPot_t = Interfaces::MCU::IVPot &>
◆ setAngleSpacing()
template<class VPot_t = Interfaces::MCU::IVPot &>
void setAngleSpacing |
( |
float | spacing | ) |
|
|
inline |
◆ getAngleSpacing()
template<class VPot_t = Interfaces::MCU::IVPot &>
float getAngleSpacing |
( |
| ) |
const |
|
inline |
◆ drawVPotSegment()
template<class VPot_t = Interfaces::MCU::IVPot &>
void drawVPotSegment |
( |
uint8_t | segment | ) |
|
|
inlineprotected |
◆ enable() [1/4]
Enable this display element: insert it into the linked list of instances, so it gets drawn to the display.
Definition at line 35 of file DisplayElement.hpp.
◆ enable() [2/4]
|
inlinestaticprotectedinherited |
Enable this display element: insert it into the linked list of instances, so it gets drawn to the display.
Definition at line 62 of file DisplayElement.hpp.
◆ enable() [3/4]
|
inlinestaticprotectedinherited |
Enable this display element: insert it into the linked list of instances, so it gets drawn to the display.
Definition at line 64 of file DisplayElement.hpp.
◆ enable() [4/4]
template<class U , size_t N>
static void enable |
( |
U(&) | array[N] | ) |
|
|
inlinestaticprotectedinherited |
Enable this display element: insert it into the linked list of instances, so it gets drawn to the display.
Definition at line 67 of file DisplayElement.hpp.
◆ disable() [1/4]
Disable this display element: remove it from the linked list of instances, so it no longer gets drawn to the display.
Definition at line 45 of file DisplayElement.hpp.
◆ disable() [2/4]
|
inlinestaticprotectedinherited |
Disable this display element: remove it from the linked list of instances, so it no longer gets drawn to the display.
Definition at line 73 of file DisplayElement.hpp.
◆ disable() [3/4]
|
inlinestaticprotectedinherited |
Disable this display element: remove it from the linked list of instances, so it no longer gets drawn to the display.
Definition at line 75 of file DisplayElement.hpp.
◆ disable() [4/4]
template<class U , size_t N>
static void disable |
( |
U(&) | array[N] | ) |
|
|
inlinestaticprotectedinherited |
Disable this display element: remove it from the linked list of instances, so it no longer gets drawn to the display.
Definition at line 78 of file DisplayElement.hpp.
◆ isEnabled()
Check if this display element is enabled.
- Note
- Assumes that the element is not added to a different linked list by the user.
Definition at line 59 of file DisplayElement.hpp.
◆ getDisplay() [1/2]
Get a reference to the display that this element draws to.
Definition at line 95 of file DisplayElement.hpp.
◆ getDisplay() [2/2]
Get a const reference to the display that this element draws to.
Definition at line 97 of file DisplayElement.hpp.
◆ getAll()
◆ vpot
template<class VPot_t = Interfaces::MCU::IVPot &>
template<class VPot_t = Interfaces::MCU::IVPot &>
template<class VPot_t = Interfaces::MCU::IVPot &>
◆ radius
template<class VPot_t = Interfaces::MCU::IVPot &>
◆ innerRadius
template<class VPot_t = Interfaces::MCU::IVPot &>
◆ color
template<class VPot_t = Interfaces::MCU::IVPot &>
◆ angleSpacing
template<class VPot_t = Interfaces::MCU::IVPot &>
float angleSpacing = 0.4887 |
|
private |
◆ display
◆ elements
◆ next
◆ previous
The documentation for this class was generated from the following file: