Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Classes | Enumerations
Selector.hpp File Reference
#include "Selectable.hpp"
#include <AH/Containers/Updatable.hpp>
#include <AH/Debug/Debug.hpp>
#include <Def/Def.hpp>
+ Include dependency graph for Selector.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EmptySelectorCallback
 A callback for the GenericSelector class that does nothing. More...
 
class  SelectorBase
 Base class for all Selectors exposing the get method, so it can be used by display elements etc, without having to provide the full generic type. More...
 
class  GenericSelector< N, Callback >
 
class  Selector< N >
 A Selector with an empty callback. More...
 

Enumerations

enum class  Wrap : bool { Clamp = false , Wrap = true , NoWrap = false }
 An enumeration to set the behavior of selectors that are incremented (decremented) beyond their maximum (minimum) setting. More...
 

Enumeration Type Documentation

◆ Wrap

enum class Wrap : bool
strong

An enumeration to set the behavior of selectors that are incremented (decremented) beyond their maximum (minimum) setting.

Enumerator
Clamp 

When the maximum (minimum) setting is reached, clamp to the maximum (minimum) setting.

Wrap 

When the maximum (minimum) setting is reached, wrap around to the minimum (maximum) setting.

NoWrap 

Definition at line 14 of file Selector.hpp.