|
FastLED 3.9.15
|
#include <ptr.h>
Inheritance diagram for fl::Ptr< T >:
Collaboration diagram for fl::Ptr< T >:Public Member Functions | |
| Ptr () | |
| Ptr (const Ptr &other) | |
| template<typename U, typename = fl::is_derived<T, U>> | |
| Ptr (const Ptr< U > &refptr) | |
| Ptr (Ptr &&other) noexcept | |
| Ptr (T *referent)=delete | |
| ~Ptr () | |
| T * | get () const |
| bool | isOwned () const |
| operator bool () const noexcept | |
| bool | operator!= (const Ptr &other) const |
| bool | operator!= (const T *other) const |
| T & | operator* () const |
| T * | operator-> () const |
| bool | operator< (const Ptr &other) const |
| Ptr & | operator= (const Ptr &other) |
| Ptr & | operator= (Ptr &&other) noexcept |
| Ptr & | operator= (T *referent)=delete |
| bool | operator== (const Ptr &other) const |
| bool | operator== (const T *other) const |
| T * | release () |
| void | reset () |
| void | reset (Ptr< T > &refptr) |
| void | swap (Ptr &other) noexcept |
| WeakPtr< T > | weakPtr () const |
| WeakPtr< T > | weakRefNoCreate () const |
Static Public Member Functions | |
| template<typename... Args> | |
| static Ptr< T > | New (Args... args) |
| static Ptr | NoTracking (T &referent) |
| static Ptr | Null () |
| static Ptr | TakeOwnership (T *ptr) |
Static Public Member Functions inherited from fl::PtrTraits< T > | |
| static Ptr< T > | New () |
| template<typename... Args> | |
| static Ptr< T > | New (Args... args) |
Private Member Functions | |
| Ptr (T *referent, bool from_heap) | |
Private Attributes | |
| T * | referent_ |
Friends | |
| class | PtrTraits< T > |
Additional Inherited Members | |
Public Types inherited from fl::PtrTraits< T > | |
| using | element_type = T |
| using | ptr_type = Ptr<T> |