TracktionEngine
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
engine::AutomationRecordManager Class Reference

Stores automation data as it's being read in, and writes it back to the edit when recording finishes. More...

#include <tracktion_AutomationRecordManager.h>

Classes

struct  Listener
 Listener interface for notifications of properties changing. More...
 

Public Member Functions

 AutomationRecordManager (Edit &)
 
 ~AutomationRecordManager ()
 
bool isReadingAutomation () const noexcept
 Toggles automation playback Matches the auto play button on the transport controls.
 
void setReadingAutomation (bool)
 
bool isWritingAutomation () const noexcept
 Toggles automation recording Matches the auto rec button on the transport controls.
 
void setWritingAutomation (bool)
 
void toggleWriteAutomationMode ()
 flips the write mode, first punching out if it needs to.
 
bool isRecordingAutomation () const
 
bool isParameterRecording (AutomatableParameter *) const
 
void punchOut (bool toEnd)
 
void addListener (Listener *)
 Adds a listener.
 
void removeListener (Listener *)
 Removes a listener.
 

Static Public Member Functions

static TimeDuration getGlideSeconds (Engine &)
 Set the 'glide' or crossfade length it'll use to patch the data back into the edit.
 
static void setGlideSeconds (Engine &, TimeDuration)
 

Public Attributes

Engine & engine
 

Detailed Description

Stores automation data as it's being read in, and writes it back to the edit when recording finishes.

Also looks after some global automation settings.

Constructor & Destructor Documentation

◆ AutomationRecordManager()

engine::AutomationRecordManager::AutomationRecordManager ( Edit &  )

◆ ~AutomationRecordManager()

engine::AutomationRecordManager::~AutomationRecordManager ( )

Member Function Documentation

◆ isReadingAutomation()

bool engine::AutomationRecordManager::isReadingAutomation ( ) const
noexcept

Toggles automation playback Matches the auto play button on the transport controls.

◆ setReadingAutomation()

void engine::AutomationRecordManager::setReadingAutomation ( bool  )

◆ isWritingAutomation()

bool engine::AutomationRecordManager::isWritingAutomation ( ) const
noexcept

Toggles automation recording Matches the auto rec button on the transport controls.

◆ setWritingAutomation()

void engine::AutomationRecordManager::setWritingAutomation ( bool  )

◆ toggleWriteAutomationMode()

void engine::AutomationRecordManager::toggleWriteAutomationMode ( )

flips the write mode, first punching out if it needs to.

◆ isRecordingAutomation()

bool engine::AutomationRecordManager::isRecordingAutomation ( ) const

◆ isParameterRecording()

bool engine::AutomationRecordManager::isParameterRecording ( AutomatableParameter ) const

◆ punchOut()

void engine::AutomationRecordManager::punchOut ( bool  toEnd)

◆ addListener()

void engine::AutomationRecordManager::addListener ( Listener )

Adds a listener.

◆ removeListener()

void engine::AutomationRecordManager::removeListener ( Listener )

Removes a listener.

◆ getGlideSeconds()

static TimeDuration engine::AutomationRecordManager::getGlideSeconds ( Engine &  )
static

Set the 'glide' or crossfade length it'll use to patch the data back into the edit.

◆ setGlideSeconds()

static void engine::AutomationRecordManager::setGlideSeconds ( Engine &  ,
TimeDuration   
)
static

Member Data Documentation

◆ engine

Engine& engine::AutomationRecordManager::engine

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