An abstract class for rotary encoders that send MIDI events.
More...
#include <MIDI_Outputs/Abstract/MIDIRotaryEncoder.hpp>
|
void | begin () final override |
| Initialize this updatable. More...
|
|
void | update () final override |
| Update this updatable. More...
|
|
void | enable () |
| Enable this updatable: insert it into the linked list of instances, so it gets updated automatically. More...
|
|
void | disable () |
| Disable this updatable: remove it from the linked list of instances, so it no longer gets updated automatically. More...
|
|
bool | isEnabled () |
| Check if this updatable is enabled. More...
|
|
template<class Sender>
class MIDIRotaryEncoder< Sender >
An abstract class for rotary encoders that send MIDI events.
Definition at line 19 of file Abstract/MIDIRotaryEncoder.hpp.
◆ MIDIRotaryEncoder()
◆ begin()
|
inlinefinaloverridevirtual |
◆ update()
|
inlinefinaloverridevirtual |
◆ enable() [1/4]
Enable this updatable: insert it into the linked list of instances, so it gets updated automatically.
Definition at line 45 of file Updatable.hpp.
◆ enable() [2/4]
static void enable |
( |
Updatable< T > * |
element | ) |
|
|
inlinestaticinherited |
◆ enable() [3/4]
static void enable |
( |
Updatable< T > & |
element | ) |
|
|
inlinestaticinherited |
◆ enable() [4/4]
static void enable |
( |
U(&) |
array[N] | ) |
|
|
inlinestaticinherited |
◆ disable() [1/4]
Disable this updatable: remove it from the linked list of instances, so it no longer gets updated automatically.
Definition at line 55 of file Updatable.hpp.
◆ disable() [2/4]
static void disable |
( |
Updatable< T > * |
element | ) |
|
|
inlinestaticinherited |
◆ disable() [3/4]
static void disable |
( |
Updatable< T > & |
element | ) |
|
|
inlinestaticinherited |
◆ disable() [4/4]
static void disable |
( |
U(&) |
array[N] | ) |
|
|
inlinestaticinherited |
◆ isEnabled()
Check if this updatable is enabled.
- Note
- Assumes that the updatable is not added to a different linked list by the user.
Definition at line 69 of file Updatable.hpp.
◆ beginAll()
◆ updateAll()
static void updateAll |
( |
| ) |
|
|
inlinestaticinherited |
◆ encoder
◆ address
◆ speedMultiply
const int8_t speedMultiply |
|
private |
◆ pulsesPerStep
const uint8_t pulsesPerStep |
|
private |
◆ previousPosition
long previousPosition = 0 |
|
private |
◆ sender
◆ updatables
◆ next
◆ previous
The documentation for this class was generated from the following file: