FastLED 3.9.15
Loading...
Searching...
No Matches
fl::detail::ControlBlock< T, Deleter > Struct Template Reference

Detailed Description

template<typename T, typename Deleter = default_delete<T>>
struct fl::detail::ControlBlock< T, Deleter >

Definition at line 82 of file shared_ptr.h.

#include <shared_ptr.h>

+ Inheritance diagram for fl::detail::ControlBlock< T, Deleter >:
+ Collaboration diagram for fl::detail::ControlBlock< T, Deleter >:

Public Member Functions

 ControlBlock (T *p, Deleter d=Deleter(), bool track=true)
 
void destroy_control_block () override
 
void destroy_object () override
 
- Public Member Functions inherited from fl::detail::ControlBlockBase
 ControlBlockBase (bool track=true)
 
virtual ~ControlBlockBase ()=default
 
void add_shared_ref ()
 
bool is_no_tracking () const
 
bool remove_shared_ref ()
 

Public Attributes

Deleter deleter
 
T * ptr
 
- Public Attributes inherited from fl::detail::ControlBlockBase
fl::atomic_u32 shared_count
 
fl::atomic_u32 weak_count
 

Additional Inherited Members

- Static Public Attributes inherited from fl::detail::ControlBlockBase
static constexpr fl::u32 NO_TRACKING_VALUE = 0xffffffff
 

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