FastLED 3.9.3
|
Public Member Functions | |
template<typename U , typename = fl::is_derived<T, U>> | |
Ref (const Ref< U > &refptr) | |
Ref (T *referent)=delete | |
Ref & | operator= (T *referent)=delete |
Ref (const Ref &other) | |
Ref (Ref &&other) noexcept | |
Ref & | operator= (const Ref &other) |
WeakRef< T > | weakRefNoCreate () const |
WeakRef< T > | weakRef () const |
bool | operator== (const T *other) const |
bool | operator!= (const T *other) const |
bool | operator== (const Ref &other) const |
bool | operator!= (const Ref &other) const |
bool | operator< (const Ref &other) const |
Ref & | operator= (Ref &&other) noexcept |
T * | get () const |
T * | operator-> () const |
T & | operator* () const |
operator bool () const noexcept | |
void | reset () |
void | reset (Ref< T > &refptr) |
T * | release () |
void | swap (Ref &other) noexcept |
bool | isOwned () const |
Static Public Member Functions | |
template<typename... Args> | |
static Ref< T > | New (Args... args) |
static Ref | TakeOwnership (T *ptr) |
static Ref | NoTracking (T &referent) |
static Ref< T > | Null () |
Static Public Member Functions inherited from RefTraits< T > | |
template<typename... Args> | |
static Ref< T > | New (Args... args) |
static Ref< T > | New () |
Friends | |
class | RefTraits< T > |
Additional Inherited Members | |
Public Types inherited from RefTraits< T > | |
using | element_type = T |
using | ptr_type = Ref<T> |
|
inlineexplicitnoexcept |
|
inline |
|
inline |
|
inline |
|
inline |