Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
UnpatchedParamSet Class Referencefinal

#include <ParamSet.h>

Inheritance diagram for UnpatchedParamSet:
Inheritance graph
Collaboration diagram for UnpatchedParamSet:
Collaboration graph

Public Member Functions

 UnpatchedParamSet (ParamCollectionSummary *summary)
 
int getNumParams ()
 
bool shouldParamIndicateMiddleValue (ModelStackWithParamId const *modelStack)
 
bool doesParamIdAllowAutomation (ModelStackWithParamId const *modelStack)
 
- Public Member Functions inherited from ParamSet
 ParamSet (int newObjectSize, ParamCollectionSummary *summary)
 
int32_t getValue (int p)
 
int32_t getValueAtPos (int p, uint32_t pos, TimelineCounter *playPositionCounter)
 
void processCurrentPos (ModelStackWithParamCollection *modelStack, int ticksSkipped, bool reversed, bool didPingpong, bool mayInterpolate) final
 
void writeParamAsAttribute (char const *name, int p, bool writeAutomation, bool onlyIfContainsSomething=false, int32_t *valuesForOverride=NULL)
 
void readParam (ParamCollectionSummary *summary, int p, int32_t readAutomationUpToPos)
 
void tickSamples (int numSamples, ModelStackWithParamCollection *modelStack) final
 
void setPlayPos (uint32_t pos, ModelStackWithParamCollection *modelStack, bool reversed) final
 
void playbackHasEnded (ModelStackWithParamCollection *modelStack) final
 
void grabValuesFromPos (uint32_t pos, ModelStackWithParamCollection *modelStack) final
 
void generateRepeats (ModelStackWithParamCollection *modelStack, uint32_t oldLength, uint32_t newLength, bool shouldPingpong) final
 
void appendParamCollection (ModelStackWithParamCollection *modelStack, ModelStackWithParamCollection *otherModelStack, int32_t oldLength, int32_t reverseThisRepeatWithLength, bool pingpongingGenerally) final
 
void beenCloned (bool copyAutomation, int32_t reverseDirectionWithLength)
 
void cloneFrom (ParamCollection *otherParamSet, bool copyAutomation)
 
void copyOverridingFrom (ParamSet *otherParamSet)
 
void trimToLength (uint32_t newLength, ModelStackWithParamCollection *modelStack, Action *action, bool maySetupPatching) final
 
void nudgeNonInterpolatingNodesAtPos (int32_t pos, int offset, int32_t lengthBeforeLoop, Action *action, ModelStackWithParamCollection *modelStack) final
 
void paramHasAutomationNow (ParamCollectionSummary *summary, int p)
 
void paramHasNoAutomationNow (ModelStackWithParamCollection const *modelStack, int p)
 
void shiftParamValues (int p, int32_t offset)
 
void shiftParamVolumeByDB (int p, float offset)
 
void shiftHorizontally (ModelStackWithParamCollection *modelStack, int32_t amount, int32_t effectiveLength) final
 
void deleteAllAutomation (Action *action, ModelStackWithParamCollection *modelStack)
 
void deleteAutomationForParamBasicForSetup (ModelStackWithParamCollection *modelStack, int p)
 
void insertTime (ModelStackWithParamCollection *modelStack, int32_t pos, int32_t lengthToInsert)
 
void deleteTime (ModelStackWithParamCollection *modelStack, int32_t startPos, int32_t lengthToDelete)
 
void backUpAllAutomatedParamsToAction (Action *action, ModelStackWithParamCollection *modelStack)
 
void notifyPingpongOccurred (ModelStackWithParamCollection *modelStack) final
 
void remotelySwapParamState (AutoParamState *state, ModelStackWithParamId *modelStack) final
 
virtual int getNumParams ()=0
 
ModelStackWithAutoParamgetAutoParamFromId (ModelStackWithParamId *modelStack, bool allowCreation=true) final
 
void notifyParamModifiedInSomeWay (ModelStackWithAutoParam const *modelStack, int32_t oldValue, bool automationChanged, bool automatedBefore, bool automatedNow)
 
- Public Member Functions inherited from ParamCollection
 ParamCollection (int newObjectSize, ParamCollectionSummary *summary)
 
virtual ~ParamCollection ()
 
virtual void beenCloned (bool copyAutomation, int32_t reverseDirectionWithLength=0)=0
 
virtual void tickSamples (int numSamples, ModelStackWithParamCollection *modelStack)=0
 
virtual void setPlayPos (uint32_t pos, ModelStackWithParamCollection *modelStack, bool reversed)
 
virtual void playbackHasEnded (ModelStackWithParamCollection *modelStack)=0
 
virtual void grabValuesFromPos (uint32_t pos, ModelStackWithParamCollection *modelStack)=0
 
virtual void generateRepeats (ModelStackWithParamCollection *modelStack, uint32_t oldLength, uint32_t newLength, bool shouldPingpong)=0
 
virtual void appendParamCollection (ModelStackWithParamCollection *modelStack, ModelStackWithParamCollection *otherModelStack, int32_t oldLength, int32_t reverseThisRepeatWithLength, bool pingpongingGenerally)=0
 
virtual void trimToLength (uint32_t newLength, ModelStackWithParamCollection *modelStack, Action *action, bool maySetupPatching)=0
 
virtual void shiftHorizontally (ModelStackWithParamCollection *modelStack, int32_t amount, int32_t effectiveLength)=0
 
virtual void processCurrentPos (ModelStackWithParamCollection *modelStack, int ticksSinceLast, bool reversed, bool didPingpong, bool mayInterpolate)=0
 
virtual void remotelySwapParamState (AutoParamState *state, ModelStackWithParamId *modelStack)=0
 
virtual void deleteAllAutomation (Action *action, ModelStackWithParamCollection *modelStack)=0
 
virtual void nudgeNonInterpolatingNodesAtPos (int32_t pos, int offset, int32_t lengthBeforeLoop, Action *action, ModelStackWithParamCollection *modelStack)=0
 
virtual void notifyParamModifiedInSomeWay (ModelStackWithAutoParam const *modelStack, int32_t oldValue, bool automationChanged, bool automatedBefore, bool automatedNow)
 
virtual ModelStackWithAutoParamgetAutoParamFromId (ModelStackWithParamId *modelStack, bool allowCreation=false)=0
 
virtual bool mayParamInterpolate (int paramId)
 
virtual bool shouldParamIndicateMiddleValue (ModelStackWithParamId const *modelStack)
 
virtual bool doesParamIdAllowAutomation (ModelStackWithParamId const *modelStack)
 
virtual int paramValueToKnobPos (int32_t paramValue, ModelStackWithAutoParam *modelStack)
 
virtual int32_t knobPosToParamValue (int knobPos, ModelStackWithAutoParam *modelStack)
 
virtual void notifyPingpongOccurred (ModelStackWithParamCollection *modelStack)
 

Public Attributes

AutoParam fakeParams [MAX_NUM_UNPATCHED_PARAMS - 1]
 
- Public Attributes inherited from ParamSet
uint8_t topUintToRepParams
 
AutoParam params [1]
 
- Public Attributes inherited from ParamCollection
const int objectSize
 
int32_t ticksTilNextEvent
 

Constructor & Destructor Documentation

◆ UnpatchedParamSet()

UnpatchedParamSet::UnpatchedParamSet ( ParamCollectionSummary summary)

Member Function Documentation

◆ doesParamIdAllowAutomation()

bool UnpatchedParamSet::doesParamIdAllowAutomation ( ModelStackWithParamId const *  modelStack)
virtual

Reimplemented from ParamCollection.

◆ getNumParams()

int UnpatchedParamSet::getNumParams ( )
inlinevirtual

Implements ParamSet.

◆ shouldParamIndicateMiddleValue()

bool UnpatchedParamSet::shouldParamIndicateMiddleValue ( ModelStackWithParamId const *  modelStack)
virtual

Reimplemented from ParamCollection.

Member Data Documentation

◆ fakeParams

AutoParam UnpatchedParamSet::fakeParams[MAX_NUM_UNPATCHED_PARAMS - 1]

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