|
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.
| engine::TransportControl::ScopedContextAllocator::ScopedContextAllocator | ( | TransportControl & | o | ) |
Saves whether the Edit was allocated.
References engine::TransportControl::isPlayContextActive(), tc, engine::TransportControl::TransportControl(), and wasAllocated.
| engine::TransportControl::ScopedContextAllocator::~ScopedContextAllocator | ( | ) |
Allocated the Edit if it was allocated on construction.
References tc, and wasAllocated.
| TransportControl& engine::TransportControl::ScopedContextAllocator::tc |
Referenced by ScopedContextAllocator(), and ~ScopedContextAllocator().
| bool engine::TransportControl::ScopedContextAllocator::wasAllocated = false |
Referenced by ScopedContextAllocator(), and ~ScopedContextAllocator().
| ScopedPlaybackRestarter engine::TransportControl::ScopedContextAllocator::playbackRestarter { tc } |