|
TracktionEngine
|
Helper class to automatically retain/release real time access to an object. More...
#include <tracktion_LockFreeObject.h>
Public Member Functions | |
| ScopedRealTimeAccess (LockFreeObject &lfo) | |
| Retains real time access to an object. | |
| ~ScopedRealTimeAccess () | |
| Releases real time access to the object. | |
| ObjectType * | get () const |
| Returns a pointer to the object if access was obtained. | |
Helper class to automatically retain/release real time access to an object.
| tracktion::graph::LockFreeObject< ObjectType >::ScopedRealTimeAccess::ScopedRealTimeAccess | ( | LockFreeObject & | lfo | ) |
Retains real time access to an object.
| tracktion::graph::LockFreeObject< ObjectType >::ScopedRealTimeAccess::~ScopedRealTimeAccess | ( | ) |
Releases real time access to the object.
References tracktion::graph::LockFreeObject< ObjectType >::releaseRealTime().
| ObjectType * tracktion::graph::LockFreeObject< ObjectType >::ScopedRealTimeAccess::get | ( | ) | const |
Returns a pointer to the object if access was obtained.