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

#include <ActionLogger.h>

Collaboration diagram for ActionLogger:
Collaboration graph

Public Member Functions

 ActionLogger ()
 
ActiongetNewAction (int newActionType, int addToExistingIfPossible=ACTION_ADDITION_NOT_ALLOWED)
 
void recordUnautomatedParamChange (ModelStackWithAutoParam const *modelStack, int actionType=ACTION_PARAM_UNAUTOMATED_VALUE_CHANGE)
 
void recordSwingChange (int8_t swingBefore, int8_t swingAfter)
 
void recordTempoChange (uint64_t timePerBigBefore, uint64_t timePerBigAfter)
 
void closeAction (int actionType)
 
void closeActionUnlessCreatedJustNow (int actionType)
 
void deleteAllLogs ()
 
void deleteLog (int time)
 
bool revert (int time, bool updateVisually=true, bool doNavigation=true)
 
void updateAction (Action *newAction)
 
void undo ()
 
void redo ()
 
bool undoJustOneConsequencePerNoteRow (ModelStack *modelStack)
 
bool allowedToDoReversion ()
 
void notifyClipRecordingAborted (Clip *clip)
 

Public Attributes

ActionfirstAction [2]
 

Constructor & Destructor Documentation

◆ ActionLogger()

ActionLogger::ActionLogger ( )

Member Function Documentation

◆ allowedToDoReversion()

bool ActionLogger::allowedToDoReversion ( )

◆ closeAction()

void ActionLogger::closeAction ( int  actionType)

◆ closeActionUnlessCreatedJustNow()

void ActionLogger::closeActionUnlessCreatedJustNow ( int  actionType)

◆ deleteAllLogs()

void ActionLogger::deleteAllLogs ( )

◆ deleteLog()

void ActionLogger::deleteLog ( int  time)

◆ getNewAction()

Action * ActionLogger::getNewAction ( int  newActionType,
int  addToExistingIfPossible = ACTION_ADDITION_NOT_ALLOWED 
)

◆ notifyClipRecordingAborted()

void ActionLogger::notifyClipRecordingAborted ( Clip clip)

◆ recordSwingChange()

void ActionLogger::recordSwingChange ( int8_t  swingBefore,
int8_t  swingAfter 
)

◆ recordTempoChange()

void ActionLogger::recordTempoChange ( uint64_t  timePerBigBefore,
uint64_t  timePerBigAfter 
)

◆ recordUnautomatedParamChange()

void ActionLogger::recordUnautomatedParamChange ( ModelStackWithAutoParam const *  modelStack,
int  actionType = ACTION_PARAM_UNAUTOMATED_VALUE_CHANGE 
)

◆ redo()

void ActionLogger::redo ( )

◆ revert()

bool ActionLogger::revert ( int  time,
bool  updateVisually = true,
bool  doNavigation = true 
)

◆ undo()

void ActionLogger::undo ( )

◆ undoJustOneConsequencePerNoteRow()

bool ActionLogger::undoJustOneConsequencePerNoteRow ( ModelStack modelStack)

◆ updateAction()

void ActionLogger::updateAction ( Action newAction)

Member Data Documentation

◆ firstAction

Action* ActionLogger::firstAction[2]

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