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

No ownership. More...

#include <ownership.h>

Public Types

typedef T * Pointer
 Pointer type returned from intrusive containers. More...
 

Static Public Member Functions

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

Detailed Description

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

No ownership.

Definition at line 40 of file ownership.h.

Member Typedef Documentation

template<class T>
typedef T* roc::core::NoOwnership< T >::Pointer

Pointer type returned from intrusive containers.

Remarks
It's safe to return raw pointer since container will never free objects.

Definition at line 44 of file ownership.h.

Member Function Documentation

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

Acquire ownership.

Definition at line 47 of file ownership.h.

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

Release ownership.

Definition at line 51 of file ownership.h.


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