AceUtils
0.6.0
Useful Arduino utilties which are too small as separate libraries, but complex enough to be shared among multiple projects, and often have external dependencies to other libraries.
|
A data structure that captures the group of sibliing clock modes which can be cycled through using the "Mode" button. More...
#include <ModeGroup.h>
Public Attributes | |
const ModeGroup *const | parentGroup |
Pointer to the parent ModeGroup. More... | |
uint8_t const | numModes |
Number of modes. | |
const ModeRecord *const | children |
Array of children mode groups. | |
A data structure that captures the group of sibliing clock modes which can be cycled through using the "Mode" button.
An alternative is to represent each mode as a hierarchy of "directories" and "files". But that requires more memory. Grouping all the siblings together into a single object is more memory efficient, but less aesthetically pleasing. A ModeGroup does not have a modeId because it does not represent a specific rendering mode. It is a group of rendering modes.
Definition at line 31 of file ModeGroup.h.
const ModeGroup* const ace_utils::mode_group::ModeGroup::parentGroup |
Pointer to the parent ModeGroup.
Set to nullptr for the root group.
Definition at line 33 of file ModeGroup.h.