NAP
Classes | Public Member Functions | Protected Member Functions | List of all members
SafeOwnerBase Class Referenceabstract

#include <audio/utility/safeptr.h>

Classes

class  Data
 

Public Member Functions

virtual ~SafeOwnerBase ()=default
 

Protected Member Functions

void assign (SafeOwnerBase &source)
 

Description

Base class for SafeOwner<T> template

Constructor & Destructor Documentation

◆ ~SafeOwnerBase()

virtual ~SafeOwnerBase ( )
virtualdefault

Member Function Documentation

◆ assign()

void assign ( SafeOwnerBase source)
protected

Transfer ownership of the object in source to this. Source will be pointing to nothing. If we are currently holding any object it will be deleted safely using the DeletionQueue.