FastLED 3.9.7
Loading...
Searching...
No Matches
fl::WeakPtr< T > Class Template Reference

Detailed Description

template<typename T>
class fl::WeakPtr< T >

Definition at line 274 of file ptr.h.

Public Member Functions

 WeakPtr (const Ptr< T > &ptr)
 
template<typename U >
 WeakPtr (const Ptr< U > &ptr)
 
 WeakPtr (const WeakPtr &other)
 
template<typename U >
 WeakPtr (const WeakPtr< U > &other)
 
 WeakPtr (WeakPtr &&other) noexcept
 
 operator bool () const
 
bool operator! () const
 
bool operator== (const WeakPtr &other) const
 
bool operator!= (const WeakPtr &other) const
 
bool operator== (const T *other) const
 
bool operator== (T *other) const
 
bool operator== (const Ptr< T > &other) const
 
bool operator!= (const T *other) const
 
WeakPtroperator= (const WeakPtr &other)
 
Ptr< T > lock () const
 
bool expired () const
 
void reset ()
 

Public Attributes

Ptr< WeakReferentmWeakPtr
 

Constructor & Destructor Documentation

◆ WeakPtr() [1/6]

template<typename T >
fl::WeakPtr< T >::WeakPtr ( )
inline

Definition at line 276 of file ptr.h.

◆ WeakPtr() [2/6]

template<typename T >
fl::WeakPtr< T >::WeakPtr ( const Ptr< T > & ptr)
inline

Definition at line 278 of file ptr.h.

◆ WeakPtr() [3/6]

template<typename T >
template<typename U >
fl::WeakPtr< T >::WeakPtr ( const Ptr< U > & ptr)
inline

Definition at line 291 of file ptr.h.

◆ WeakPtr() [4/6]

template<typename T >
fl::WeakPtr< T >::WeakPtr ( const WeakPtr< T > & other)
inline

Definition at line 304 of file ptr.h.

◆ WeakPtr() [5/6]

template<typename T >
template<typename U >
fl::WeakPtr< T >::WeakPtr ( const WeakPtr< U > & other)
inline

Definition at line 307 of file ptr.h.

◆ WeakPtr() [6/6]

template<typename T >
fl::WeakPtr< T >::WeakPtr ( WeakPtr< T > && other)
inlinenoexcept

Definition at line 309 of file ptr.h.

◆ ~WeakPtr()

template<typename T >
fl::WeakPtr< T >::~WeakPtr ( )
inline

Definition at line 311 of file ptr.h.

Member Function Documentation

◆ expired()

template<typename T >
bool fl::WeakPtr< T >::expired ( ) const
inline

Definition at line 367 of file ptr.h.

◆ lock()

template<typename T >
Ptr< T > fl::WeakPtr< T >::lock ( ) const
inline

Definition at line 354 of file ptr.h.

◆ operator bool()

template<typename T >
fl::WeakPtr< T >::operator bool ( ) const
inline

Definition at line 313 of file ptr.h.

◆ operator!()

template<typename T >
bool fl::WeakPtr< T >::operator! ( ) const
inline

Definition at line 315 of file ptr.h.

◆ operator!=() [1/2]

template<typename T >
bool fl::WeakPtr< T >::operator!= ( const T * other) const
inline

Definition at line 344 of file ptr.h.

◆ operator!=() [2/2]

template<typename T >
bool fl::WeakPtr< T >::operator!= ( const WeakPtr< T > & other) const
inline

Definition at line 324 of file ptr.h.

◆ operator=()

template<typename T >
WeakPtr & fl::WeakPtr< T >::operator= ( const WeakPtr< T > & other)
inline

Definition at line 349 of file ptr.h.

◆ operator==() [1/4]

template<typename T >
bool fl::WeakPtr< T >::operator== ( const Ptr< T > & other) const
inline

Definition at line 337 of file ptr.h.

◆ operator==() [2/4]

template<typename T >
bool fl::WeakPtr< T >::operator== ( const T * other) const
inline

Definition at line 328 of file ptr.h.

◆ operator==() [3/4]

template<typename T >
bool fl::WeakPtr< T >::operator== ( const WeakPtr< T > & other) const
inline

Definition at line 320 of file ptr.h.

◆ operator==() [4/4]

template<typename T >
bool fl::WeakPtr< T >::operator== ( T * other) const
inline

Definition at line 330 of file ptr.h.

◆ reset()

template<typename T >
void fl::WeakPtr< T >::reset ( )
inline

Definition at line 377 of file ptr.h.

Member Data Documentation

◆ mWeakPtr

template<typename T >
Ptr<WeakReferent> fl::WeakPtr< T >::mWeakPtr

Definition at line 382 of file ptr.h.


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