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

#include <ParamCollection.h>

Inheritance diagram for ParamCollection:
Inheritance graph
Collaboration diagram for ParamCollection:
Collaboration graph

Public Member Functions

 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

const int objectSize
 
int32_t ticksTilNextEvent
 

Constructor & Destructor Documentation

◆ ParamCollection()

ParamCollection::ParamCollection ( int  newObjectSize,
ParamCollectionSummary summary 
)

◆ ~ParamCollection()

ParamCollection::~ParamCollection ( )
virtual

Member Function Documentation

◆ appendParamCollection()

virtual void ParamCollection::appendParamCollection ( ModelStackWithParamCollection modelStack,
ModelStackWithParamCollection otherModelStack,
int32_t  oldLength,
int32_t  reverseThisRepeatWithLength,
bool  pingpongingGenerally 
)
pure virtual

◆ beenCloned()

virtual void ParamCollection::beenCloned ( bool  copyAutomation,
int32_t  reverseDirectionWithLength = 0 
)
pure virtual

◆ deleteAllAutomation()

virtual void ParamCollection::deleteAllAutomation ( Action action,
ModelStackWithParamCollection modelStack 
)
pure virtual

◆ doesParamIdAllowAutomation()

virtual bool ParamCollection::doesParamIdAllowAutomation ( ModelStackWithParamId const *  modelStack)
inlinevirtual

Reimplemented in UnpatchedParamSet.

◆ generateRepeats()

virtual void ParamCollection::generateRepeats ( ModelStackWithParamCollection modelStack,
uint32_t  oldLength,
uint32_t  newLength,
bool  shouldPingpong 
)
pure virtual

◆ getAutoParamFromId()

virtual ModelStackWithAutoParam * ParamCollection::getAutoParamFromId ( ModelStackWithParamId modelStack,
bool  allowCreation = false 
)
pure virtual

◆ grabValuesFromPos()

virtual void ParamCollection::grabValuesFromPos ( uint32_t  pos,
ModelStackWithParamCollection modelStack 
)
pure virtual

◆ knobPosToParamValue()

int32_t ParamCollection::knobPosToParamValue ( int  knobPos,
ModelStackWithAutoParam modelStack 
)
virtual

◆ mayParamInterpolate()

bool ParamCollection::mayParamInterpolate ( int  paramId)
virtual

Reimplemented in MIDIParamCollection, and ExpressionParamSet.

◆ notifyParamModifiedInSomeWay()

void ParamCollection::notifyParamModifiedInSomeWay ( ModelStackWithAutoParam const *  modelStack,
int32_t  oldValue,
bool  automationChanged,
bool  automatedBefore,
bool  automatedNow 
)
virtual

◆ notifyPingpongOccurred()

void ParamCollection::notifyPingpongOccurred ( ModelStackWithParamCollection modelStack)
virtual

Reimplemented in MIDIParamCollection, PatchCableSet, and ParamSet.

◆ nudgeNonInterpolatingNodesAtPos()

virtual void ParamCollection::nudgeNonInterpolatingNodesAtPos ( int32_t  pos,
int  offset,
int32_t  lengthBeforeLoop,
Action action,
ModelStackWithParamCollection modelStack 
)
pure virtual

◆ paramValueToKnobPos()

int ParamCollection::paramValueToKnobPos ( int32_t  paramValue,
ModelStackWithAutoParam modelStack 
)
virtual

◆ playbackHasEnded()

virtual void ParamCollection::playbackHasEnded ( ModelStackWithParamCollection modelStack)
pure virtual

◆ processCurrentPos()

virtual void ParamCollection::processCurrentPos ( ModelStackWithParamCollection modelStack,
int  ticksSinceLast,
bool  reversed,
bool  didPingpong,
bool  mayInterpolate 
)
pure virtual

◆ remotelySwapParamState()

virtual void ParamCollection::remotelySwapParamState ( AutoParamState state,
ModelStackWithParamId modelStack 
)
pure virtual

◆ setPlayPos()

void ParamCollection::setPlayPos ( uint32_t  pos,
ModelStackWithParamCollection modelStack,
bool  reversed 
)
virtual

Reimplemented in MIDIParamCollection, PatchCableSet, and ParamSet.

◆ shiftHorizontally()

virtual void ParamCollection::shiftHorizontally ( ModelStackWithParamCollection modelStack,
int32_t  amount,
int32_t  effectiveLength 
)
pure virtual

◆ shouldParamIndicateMiddleValue()

virtual bool ParamCollection::shouldParamIndicateMiddleValue ( ModelStackWithParamId const *  modelStack)
inlinevirtual

Reimplemented in UnpatchedParamSet, and PatchedParamSet.

◆ tickSamples()

virtual void ParamCollection::tickSamples ( int  numSamples,
ModelStackWithParamCollection modelStack 
)
pure virtual

◆ trimToLength()

virtual void ParamCollection::trimToLength ( uint32_t  newLength,
ModelStackWithParamCollection modelStack,
Action action,
bool  maySetupPatching 
)
pure virtual

Member Data Documentation

◆ objectSize

const int ParamCollection::objectSize

◆ ticksTilNextEvent

int32_t ParamCollection::ticksTilNextEvent

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