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

#include <Action.h>

Collaboration diagram for Action:
Collaboration graph

Public Member Functions

 Action (int newActionType)
 
void addConsequence (Consequence *consequence)
 
int revert (int time, ModelStack *modelStack)
 
bool containsConsequenceParamChange (ParamCollection *paramCollection, int paramId)
 
void recordParamChangeIfNotAlreadySnapshotted (ModelStackWithAutoParam const *modelStack, bool stealData=false)
 
void recordParamChangeDefinitely (ModelStackWithAutoParam const *modelStack, bool stealData)
 
int recordNoteArrayChangeIfNotAlreadySnapshotted (InstrumentClip *clip, int noteRowId, NoteVector *noteVector, bool stealData, bool moveToFrontIfAlreadySnapshotted=false)
 
int recordNoteArrayChangeDefinitely (InstrumentClip *clip, int noteRowId, NoteVector *noteVector, bool stealData)
 
bool containsConsequenceNoteArrayChange (InstrumentClip *clip, int noteRowId, bool moveToFrontIfFound=false)
 
void recordNoteExistenceChange (InstrumentClip *clip, int noteRowId, Note *note, int type)
 
void recordNoteChange (InstrumentClip *clip, int noteRowId, Note *note, int32_t lengthAfter, int velocityAfter, int probabilityAfter)
 
void updateYScrollClipViewAfter (InstrumentClip *clip=NULL)
 
void recordClipInstanceExistenceChange (Output *output, ClipInstance *clipInstance, int type)
 
void prepareForDestruction (int whichQueueActionIn, Song *song)
 
void recordClipLengthChange (Clip *clip, int32_t oldLength)
 
bool recordClipExistenceChange (Song *song, ClipArray *clipArray, Clip *clip, int type)
 
void recordAudioClipSampleChange (AudioClip *clip)
 
void deleteAllConsequences (int whichQueueActionIn, Song *song, bool destructing=false)
 

Public Attributes

uint8_t type
 
bool openForAdditions
 
int xScrollClip [2]
 
int yScrollSongView [2]
 
int xZoomClip [2]
 
int xScrollArranger [2]
 
int yScrollArranger [2]
 
int xZoomArranger [2]
 
uint8_t modeNotes [2][12]
 
uint8_t numModeNotes [2]
 
uint8_t modKnobModeSongView
 
bool affectEntireSongView
 
bool tripletsOn
 
uint32_t tripletsLevel
 
UIview
 
ClipcurrentClip
 
int32_t posToClearArrangementFrom
 
ActionnextAction
 
ConsequencefirstConsequence
 
ConsequenceParamChangefirstParamConsequence
 
ActionClipStateclipStates
 
uint32_t creationTime
 
int numClipStates
 
int8_t offset
 

Constructor & Destructor Documentation

◆ Action()

Action::Action ( int  newActionType)

Member Function Documentation

◆ addConsequence()

void Action::addConsequence ( Consequence consequence)

◆ containsConsequenceNoteArrayChange()

bool Action::containsConsequenceNoteArrayChange ( InstrumentClip clip,
int  noteRowId,
bool  moveToFrontIfFound = false 
)

◆ containsConsequenceParamChange()

bool Action::containsConsequenceParamChange ( ParamCollection paramCollection,
int  paramId 
)

◆ deleteAllConsequences()

void Action::deleteAllConsequences ( int  whichQueueActionIn,
Song song,
bool  destructing = false 
)

◆ prepareForDestruction()

void Action::prepareForDestruction ( int  whichQueueActionIn,
Song song 
)

◆ recordAudioClipSampleChange()

void Action::recordAudioClipSampleChange ( AudioClip clip)

◆ recordClipExistenceChange()

bool Action::recordClipExistenceChange ( Song song,
ClipArray clipArray,
Clip clip,
int  type 
)

◆ recordClipInstanceExistenceChange()

void Action::recordClipInstanceExistenceChange ( Output output,
ClipInstance clipInstance,
int  type 
)

◆ recordClipLengthChange()

void Action::recordClipLengthChange ( Clip clip,
int32_t  oldLength 
)

◆ recordNoteArrayChangeDefinitely()

int Action::recordNoteArrayChangeDefinitely ( InstrumentClip clip,
int  noteRowId,
NoteVector noteVector,
bool  stealData 
)

◆ recordNoteArrayChangeIfNotAlreadySnapshotted()

int Action::recordNoteArrayChangeIfNotAlreadySnapshotted ( InstrumentClip clip,
int  noteRowId,
NoteVector noteVector,
bool  stealData,
bool  moveToFrontIfAlreadySnapshotted = false 
)

◆ recordNoteChange()

void Action::recordNoteChange ( InstrumentClip clip,
int  noteRowId,
Note note,
int32_t  lengthAfter,
int  velocityAfter,
int  probabilityAfter 
)

◆ recordNoteExistenceChange()

void Action::recordNoteExistenceChange ( InstrumentClip clip,
int  noteRowId,
Note note,
int  type 
)

◆ recordParamChangeDefinitely()

void Action::recordParamChangeDefinitely ( ModelStackWithAutoParam const *  modelStack,
bool  stealData 
)

◆ recordParamChangeIfNotAlreadySnapshotted()

void Action::recordParamChangeIfNotAlreadySnapshotted ( ModelStackWithAutoParam const *  modelStack,
bool  stealData = false 
)

◆ revert()

int Action::revert ( int  time,
ModelStack modelStack 
)

◆ updateYScrollClipViewAfter()

void Action::updateYScrollClipViewAfter ( InstrumentClip clip = NULL)

Member Data Documentation

◆ affectEntireSongView

bool Action::affectEntireSongView

◆ clipStates

ActionClipState* Action::clipStates

◆ creationTime

uint32_t Action::creationTime

◆ currentClip

Clip* Action::currentClip

◆ firstConsequence

Consequence* Action::firstConsequence

◆ firstParamConsequence

ConsequenceParamChange* Action::firstParamConsequence

◆ modeNotes

uint8_t Action::modeNotes[2][12]

◆ modKnobModeSongView

uint8_t Action::modKnobModeSongView

◆ nextAction

Action* Action::nextAction

◆ numClipStates

int Action::numClipStates

◆ numModeNotes

uint8_t Action::numModeNotes[2]

◆ offset

int8_t Action::offset

◆ openForAdditions

bool Action::openForAdditions

◆ posToClearArrangementFrom

int32_t Action::posToClearArrangementFrom

◆ tripletsLevel

uint32_t Action::tripletsLevel

◆ tripletsOn

bool Action::tripletsOn

◆ type

uint8_t Action::type

◆ view

UI* Action::view

◆ xScrollArranger

int Action::xScrollArranger[2]

◆ xScrollClip

int Action::xScrollClip[2]

◆ xZoomArranger

int Action::xZoomArranger[2]

◆ xZoomClip

int Action::xZoomClip[2]

◆ yScrollArranger

int Action::yScrollArranger[2]

◆ yScrollSongView

int Action::yScrollSongView[2]

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