TracktionEngine
|
Helper class to automatically retain/release real time access to an object. More...
Public Member Functions | |
ScopedRealTimeAccess (LockFreeObject &lfo) | |
Retains real time access to an object. More... | |
~ScopedRealTimeAccess () | |
Releases real time access to the object. More... | |
ObjectType * | get () const |
Returns a pointer to the object if access was obtained. More... | |
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.