Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
MenuItemPatchedParamInteger Class Reference

#include <MenuItemPatchedParam.h>

Inheritance diagram for MenuItemPatchedParamInteger:
Inheritance graph
Collaboration diagram for MenuItemPatchedParamInteger:
Collaboration graph

Public Member Functions

 MenuItemPatchedParamInteger (char const *newName=NULL, int newP=0)
 
void drawValue ()
 
ParamDescriptor getLearningThing () final
 
int getMaxValue ()
 
int getMinValue ()
 
uint8_t shouldBlinkPatchingSourceShortcut (int s, uint8_t *colour) final
 
uint8_t shouldDrawDotOnName () final
 
MenuItemselectButtonPress () final
 
uint8_t getPatchedParamIndex () final
 
MenuItempatchingSourceShortcutPress (int s, bool previousPressStillActive=false) final
 
void unlearnAction () final
 
bool allowsLearnMode () final
 
void learnKnob (MIDIDevice *fromDevice, int whichKnob, int modKnobMode, int midiChannel) final
 
- Public Member Functions inherited from MenuItemPatchedParam
 MenuItemPatchedParam ()
 
 MenuItemPatchedParam (int newP)
 
MenuItemselectButtonPress ()
 
void drawValue ()
 
ParamDescriptor getLearningThing ()
 
uint8_t getPatchedParamIndex ()
 
uint8_t shouldDrawDotOnName ()
 
uint8_t shouldBlinkPatchingSourceShortcut (int s, uint8_t *colour)
 
MenuItempatchingSourceShortcutPress (int s, bool previousPressStillActive=false)
 
ModelStackWithAutoParamgetModelStack (void *memory)
 
- Public Member Functions inherited from MenuItemParam
 MenuItemParam (int newP=0)
 
int getMaxValue ()
 
int getMinValue ()
 
virtual uint8_t getP ()
 
MenuItemselectButtonPress ()
 
virtual ModelStackWithAutoParamgetModelStack (void *memory)=0
 
- Public Member Functions inherited from MenuItemWithCCLearning
 MenuItemWithCCLearning ()
 
virtual ParamDescriptor getLearningThing ()=0
 
void unlearnAction ()
 
bool allowsLearnMode ()
 
void learnKnob (MIDIDevice *fromDevice, int whichKnob, int modKnobMode, int midiChannel)
 
- Public Member Functions inherited from MenuItemIntegerContinuous
 MenuItemIntegerContinuous (char const *newName=NULL)
 
- Public Member Functions inherited from MenuItemInteger
 MenuItemInteger (char const *newName=NULL)
 
void selectEncoderAction (int offset)
 
- Public Member Functions inherited from MenuItemNumber
 MenuItemNumber (char const *newName=NULL)
 
- Public Member Functions inherited from MenuItemValue
 MenuItemValue (char const *newName=NULL)
 
void beginSession (MenuItem *navigatedBackwardFrom)
 
void selectEncoderAction (int offset)
 
void readValueAgain () final
 
bool selectEncoderActionEditsInstrument () final
 
- Public Member Functions inherited from MenuItem
 MenuItem (char const *newName=NULL)
 
virtual void horizontalEncoderAction (int offset)
 
virtual void selectEncoderAction (int offset)
 
virtual void beginSession (MenuItem *navigatedBackwardFrom=NULL)
 
virtual bool isRelevant (Sound *sound, int whichThing)
 
virtual char const * getName ()
 
virtual MenuItemselectButtonPress ()
 
virtual int checkPermissionToBeginSession (Sound *sound, int whichThing, MultiRange **currentRange)
 
virtual void readValueAgain ()
 
virtual bool selectEncoderActionEditsInstrument ()
 
virtual uint8_t getPatchedParamIndex ()
 
virtual uint8_t getIndexOfPatchedParamToBlink ()
 
virtual uint8_t shouldDrawDotOnName ()
 
virtual uint8_t shouldBlinkPatchingSourceShortcut (int s, uint8_t *colour)
 
virtual MenuItempatchingSourceShortcutPress (int s, bool previousPressStillActive=false)
 
virtual void unlearnAction ()
 
virtual bool allowsLearnMode ()
 
virtual void learnKnob (MIDIDevice *fromDevice, int whichKnob, int modKnobMode, int midiChannel)
 
virtual bool learnNoteOn (MIDIDevice *fromDevice, int channel, int noteCode)
 
virtual void learnCC (MIDIDevice *fromDevice, int channel, int ccNumber, int value)
 
virtual bool shouldBlinkLearnLed ()
 
virtual bool isRangeDependent ()
 
virtual bool usesAffectEntire ()
 
virtual void drawName ()
 

Protected Member Functions

void readCurrentValue ()
 
void writeCurrentValue () final
 
virtual int32_t getFinalValue ()
 
- Protected Member Functions inherited from MenuItemPatchedParam
ParamSetgetParamSet ()
 
virtual ParamSetgetParamSet ()=0
 
void drawValue ()
 
virtual int getMaxValue ()=0
 
virtual int getMinValue ()
 
virtual void readCurrentValue ()
 
virtual void writeCurrentValue ()
 
virtual void drawValue ()=0
 

Additional Inherited Members

- Public Attributes inherited from MenuItemParam
uint8_t p
 
- Public Attributes inherited from MenuItem
char const * name
 

Constructor & Destructor Documentation

◆ MenuItemPatchedParamInteger()

MenuItemPatchedParamInteger::MenuItemPatchedParamInteger ( char const *  newName = NULL,
int  newP = 0 
)
inline

Member Function Documentation

◆ allowsLearnMode()

bool MenuItemPatchedParamInteger::allowsLearnMode ( )
inlinefinalvirtual

Reimplemented from MenuItem.

◆ drawValue()

void MenuItemPatchedParamInteger::drawValue ( )
inlinevirtual

Reimplemented from MenuItemInteger.

Reimplemented in MenuItemPatchedParamPan, MenuItemLPFFreq, and MenuItemHPFFreq.

◆ getFinalValue()

int32_t MenuItemPatchedParamInteger::getFinalValue ( )
protectedvirtual

◆ getLearningThing()

ParamDescriptor MenuItemPatchedParamInteger::getLearningThing ( )
inlinefinalvirtual

Reimplemented from MenuItemPatchedParam.

◆ getMaxValue()

int MenuItemPatchedParamInteger::getMaxValue ( )
inlinevirtual

Implements MenuItemNumber.

Reimplemented in MenuItemPatchedParamPan.

◆ getMinValue()

int MenuItemPatchedParamInteger::getMinValue ( )
inlinevirtual

Reimplemented from MenuItemNumber.

Reimplemented in MenuItemPatchedParamPan.

◆ getPatchedParamIndex()

uint8_t MenuItemPatchedParamInteger::getPatchedParamIndex ( )
inlinefinalvirtual

Reimplemented from MenuItem.

◆ learnKnob()

void MenuItemPatchedParamInteger::learnKnob ( MIDIDevice fromDevice,
int  whichKnob,
int  modKnobMode,
int  midiChannel 
)
inlinefinalvirtual

Reimplemented from MenuItem.

◆ patchingSourceShortcutPress()

MenuItem * MenuItemPatchedParamInteger::patchingSourceShortcutPress ( int  s,
bool  previousPressStillActive = false 
)
inlinefinalvirtual

Reimplemented from MenuItem.

◆ readCurrentValue()

void MenuItemPatchedParamInteger::readCurrentValue ( )
protectedvirtual

Reimplemented from MenuItemValue.

Reimplemented in MenuItemPatchedParamPan, and MenuItemPulseWidth.

◆ selectButtonPress()

MenuItem * MenuItemPatchedParamInteger::selectButtonPress ( )
inlinefinalvirtual

Reimplemented from MenuItem.

◆ shouldBlinkPatchingSourceShortcut()

uint8_t MenuItemPatchedParamInteger::shouldBlinkPatchingSourceShortcut ( int  s,
uint8_t *  colour 
)
inlinefinalvirtual

Reimplemented from MenuItem.

◆ shouldDrawDotOnName()

uint8_t MenuItemPatchedParamInteger::shouldDrawDotOnName ( )
inlinefinalvirtual

Reimplemented from MenuItem.

◆ unlearnAction()

void MenuItemPatchedParamInteger::unlearnAction ( )
inlinefinalvirtual

Reimplemented from MenuItem.

◆ writeCurrentValue()

void MenuItemPatchedParamInteger::writeCurrentValue ( )
finalprotectedvirtual

Reimplemented from MenuItemValue.


The documentation for this class was generated from the following files: