Anklang-0.3.0.dev797+g4e3241f3 anklang-0.3.0.dev797+g4e3241f3
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Ase::SelectableWeakref< SelectableType > Class Template Reference

Mimick tracktion::engine::SafeSelectable<> for tracktion::Selectable descendants. More...

#include "trkn-utils.hh"

Public Member Functions

 SelectableWeakref (SelectableType *selectable)
 
 SelectableWeakref (const SelectableWeakref &o) noexcept
 
SelectableType * get () const noexcept
 
SelectableType * operator-> () const noexcept
 
SelectableWeakrefoperator= (const SelectableWeakref &ref)
 
SelectableWeakrefoperator= (SelectableType *obj)
 
bool operator== (SelectableType *obj) const noexcept
 
bool operator!= (SelectableType *obj) const noexcept
 
bool operator== (std::nullptr_t) const noexcept
 
bool operator!= (std::nullptr_t) const noexcept
 
bool operator== (const SelectableWeakref &ref) const noexcept
 
bool operator!= (const SelectableWeakref &ref) const noexcept
 

Detailed Description

template<typename SelectableType>
class Ase::SelectableWeakref< SelectableType >

Mimick tracktion::engine::SafeSelectable<> for tracktion::Selectable descendants.

Definition at line 27 of file trkn-utils.hh.

Constructor & Destructor Documentation

◆ SelectableWeakref() [1/2]

template<typename SelectableType >
Ase::SelectableWeakref< SelectableType >::SelectableWeakref ( SelectableType *  selectable)
explicit

Definition at line 31 of file trkn-utils.hh.

◆ SelectableWeakref() [2/2]

template<typename SelectableType >
Ase::SelectableWeakref< SelectableType >::SelectableWeakref ( const SelectableWeakref< SelectableType > &  o)
noexcept

Definition at line 32 of file trkn-utils.hh.

Member Function Documentation

◆ get()

template<typename SelectableType >
SelectableType * Ase::SelectableWeakref< SelectableType >::get ( ) const
noexcept

Definition at line 33 of file trkn-utils.hh.

◆ operator!=() [1/3]

template<typename SelectableType >
bool Ase::SelectableWeakref< SelectableType >::operator!= ( const SelectableWeakref< SelectableType > &  ref) const
noexcept

Definition at line 42 of file trkn-utils.hh.

◆ operator!=() [2/3]

template<typename SelectableType >
bool Ase::SelectableWeakref< SelectableType >::operator!= ( SelectableType *  obj) const
noexcept

Definition at line 38 of file trkn-utils.hh.

◆ operator!=() [3/3]

template<typename SelectableType >
bool Ase::SelectableWeakref< SelectableType >::operator!= ( std::nullptr_t  ) const
noexcept

Definition at line 40 of file trkn-utils.hh.

◆ operator->()

template<typename SelectableType >
SelectableType * Ase::SelectableWeakref< SelectableType >::operator-> ( ) const
noexcept

Definition at line 34 of file trkn-utils.hh.

◆ operator=() [1/2]

template<typename SelectableType >
SelectableWeakref & Ase::SelectableWeakref< SelectableType >::operator= ( const SelectableWeakref< SelectableType > &  ref)

Definition at line 35 of file trkn-utils.hh.

◆ operator=() [2/2]

template<typename SelectableType >
SelectableWeakref & Ase::SelectableWeakref< SelectableType >::operator= ( SelectableType *  obj)

Definition at line 36 of file trkn-utils.hh.

◆ operator==() [1/3]

template<typename SelectableType >
bool Ase::SelectableWeakref< SelectableType >::operator== ( const SelectableWeakref< SelectableType > &  ref) const
noexcept

Definition at line 41 of file trkn-utils.hh.

◆ operator==() [2/3]

template<typename SelectableType >
bool Ase::SelectableWeakref< SelectableType >::operator== ( SelectableType *  obj) const
noexcept

Definition at line 37 of file trkn-utils.hh.

◆ operator==() [3/3]

template<typename SelectableType >
bool Ase::SelectableWeakref< SelectableType >::operator== ( std::nullptr_t  ) const
noexcept

Definition at line 39 of file trkn-utils.hh.


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