TracktionEngine
|
Some useful utility functions for asyncronously loading Edits on background threads. More...
#include <tracktion_EditLoader.h>
Classes | |
class | Handle |
A handle to a loading Edit. More... | |
Static Public Member Functions | |
static std::shared_ptr< Handle > | loadEdit (Edit::Options, std::function< void(std::unique_ptr< Edit >)> editLoadedCallback) |
Loads an Edit asyncronously on a background thread. | |
static std::shared_ptr< Handle > | loadEdit (Engine &, juce::File, std::function< void(std::unique_ptr< Edit >)> editLoadedCallback, Edit::EditRole role=Edit::forEditing, int numUndoLevelsToStore=Edit::getDefaultNumUndoLevels()) |
Loads an Edit asyncronously from a file on a background thread. | |
Some useful utility functions for asyncronously loading Edits on background threads.
Just call one of the loadEdit functions with the appropriate arguments.
|
static |
Loads an Edit asyncronously on a background thread.
This returns a Handle with a LoadContext which you can use to cancel the operation or poll to get progressstatus messages.
|
static |
Loads an Edit asyncronously from a file on a background thread.
This returns a Handle with a LoadContext which you can use to cancel the operation or poll to get progress.