Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::RefCountedOwnership< T > Struct Template Reference

Reference counted object ownership. More...

#include <ownership_policy.h>

Public Types

typedef SharedPtr< T, core::RefCountedOwnershipPointer
 Pointer type returned from containers. More...
 

Static Public Member Functions

static void acquire (T &object)
 Acquire ownership. More...
 
static void release (T &object)
 Release ownership. More...
 

Detailed Description

template<class T>
struct roc::core::RefCountedOwnership< T >

Reference counted object ownership.

Definition at line 21 of file ownership_policy.h.

Member Typedef Documentation

◆ Pointer

Pointer type returned from containers.

Definition at line 23 of file ownership_policy.h.

Member Function Documentation

◆ acquire()

template<class T >
static void roc::core::RefCountedOwnership< T >::acquire ( T &  object)
inlinestatic

Acquire ownership.

Definition at line 26 of file ownership_policy.h.

◆ release()

template<class T >
static void roc::core::RefCountedOwnership< T >::release ( T &  object)
inlinestatic

Release ownership.

Definition at line 31 of file ownership_policy.h.


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