|
TracktionEngine
|
Frees the playback context and then re-allocates it upon destruction. More...
#include <tracktion_TransportControl.h>
Public Member Functions | |
| ScopedContextAllocator (TransportControl &o) | |
| Saves whether the Edit was allocated. | |
| ~ScopedContextAllocator () | |
| Allocated the Edit if it was allocated on construction. | |
Public Attributes | |
| TransportControl & | tc |
| bool | wasAllocated = false |
| ScopedPlaybackRestarter | playbackRestarter { tc } |
Frees the playback context and then re-allocates it upon destruction.
| tracktion::engine::TransportControl::ScopedContextAllocator::ScopedContextAllocator | ( | TransportControl & | o | ) |
Saves whether the Edit was allocated.
| tracktion::engine::TransportControl::ScopedContextAllocator::~ScopedContextAllocator | ( | ) |
Allocated the Edit if it was allocated on construction.
References tracktion::engine::TransportControl::ensureContextAllocated(), tc, and wasAllocated.
| TransportControl& tracktion::engine::TransportControl::ScopedContextAllocator::tc |
Referenced by ~ScopedContextAllocator().
| bool tracktion::engine::TransportControl::ScopedContextAllocator::wasAllocated = false |
Referenced by ~ScopedContextAllocator().
| ScopedPlaybackRestarter tracktion::engine::TransportControl::ScopedContextAllocator::playbackRestarter { tc } |