tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tracktion::graph::LockFreeObject< ObjectType >::ScopedRealTimeAccess Class Reference

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.
 

Detailed Description

template<typename ObjectType>
class tracktion::graph::LockFreeObject< ObjectType >::ScopedRealTimeAccess

Helper class to automatically retain/release real time access to an object.

Definition at line 123 of file tracktion_LockFreeObject.h.

Constructor & Destructor Documentation

◆ ScopedRealTimeAccess()

template<typename ObjectType >
tracktion::graph::LockFreeObject< ObjectType >::ScopedRealTimeAccess::ScopedRealTimeAccess ( LockFreeObject lfo)

Retains real time access to an object.

Definition at line 127 of file tracktion_LockFreeObject.h.

◆ ~ScopedRealTimeAccess()

template<typename ObjectType >
tracktion::graph::LockFreeObject< ObjectType >::ScopedRealTimeAccess::~ScopedRealTimeAccess ( )

Releases real time access to the object.

Definition at line 132 of file tracktion_LockFreeObject.h.

Member Function Documentation

◆ get()

template<typename ObjectType >
ObjectType * tracktion::graph::LockFreeObject< ObjectType >::ScopedRealTimeAccess::get ( ) const

Returns a pointer to the object if access was obtained.

Definition at line 138 of file tracktion_LockFreeObject.h.


The documentation for this class was generated from the following file: