tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Namespaces
tracktion_Edit.h File Reference

Go to the source code of this file.

Classes

class  tracktion::engine::Edit
 The Tracktion Edit class! More...
 
struct  tracktion::engine::Edit::LoadContext
 A context passed to the Options struct which will get updated about load process and can be signaled to stop loading the Edit. More...
 
struct  tracktion::engine::Edit::Options
 Determines how the Edit will be created. More...
 
struct  tracktion::engine::Edit::ScopedRenderStatus
 Temporarily removes an Edit from the device manager, optionally re-adding it on destruction. More...
 
struct  tracktion::engine::Edit::UndoTransactionInhibitor
 Disables the creation of a new transaction. More...
 
struct  tracktion::engine::Edit::GlobalMacros
 Holds the global Macros for the Edit. More...
 
struct  tracktion::engine::Edit::LoadFinishedCallback< OwnerType >
 Calls an editFinishedLoading method on OwnerType once after the Edit has finished loading. More...
 
struct  tracktion::engine::Edit::WastedMidiMessagesListener
 Interface for classes that need to know about unused MIDI messages. More...
 
struct  tracktion::engine::EditDeleter
 Deferred Edit object deleter. More...
 
struct  tracktion::engine::ActiveEdits
 A list of all currently open edits. More...
 

Namespaces

namespace  tracktion
 
namespace  tracktion::engine
 Declarations from this namespaces are inlined into tracktion.
 

Class Documentation

◆ tracktion::engine::Edit::LoadContext

struct tracktion::engine::Edit::LoadContext

A context passed to the Options struct which will get updated about load process and can be signaled to stop loading the Edit.

Definition at line 85 of file tracktion_Edit.h.

Class Members
atomic< bool > completed Set to true once the Edit has loaded.
atomic< float > progress Progress will be updated as the Edit loads.
atomic< bool > shouldExit Can be set to true to cancel loading the Edit.

◆ tracktion::engine::Edit::Options

struct tracktion::engine::Edit::Options

Determines how the Edit will be created.

Definition at line 94 of file tracktion_Edit.h.

Class Members
function< File()> editFileRetriever An optional editFileRetriever to use.
ProjectItemID editProjectItemID The editProjectItemID, must be valid.
ValueTree editState The Edit state.
See also
createEmptyEdit
Engine & engine The Engine to use.
function< File(const String &)> filePathResolver An optional filePathResolver to use.
LoadContext * loadContext An optional context to be monitor for loading status.
uint32_t numAudioTracks If non-zero, will ensure the edit has this many audio tracks.
int numUndoLevelsToStore The number of undo levels to use.
EditRole role An optional role to open the Edit with.

◆ tracktion::engine::Edit::Metadata

struct tracktion::engine::Edit::Metadata

Metadata for the Edit.

Definition at line 730 of file tracktion_Edit.h.

Class Members
String album
String artist
String comment
String date
String genre
String title
String trackNumber