FastLED 3.9.7
Loading...
Searching...
No Matches
fl::WeakReferent Class Reference

Detailed Description

Definition at line 247 of file ptr.h.

Public Member Functions

void ref ()
 
int ref_count () const
 
void unref ()
 
void destroy ()
 
void setReferent (Referent *referent)
 
ReferentgetReferent () const
 

Protected Member Functions

 WeakReferent (const WeakReferent &)=default
 
WeakReferentoperator= (const WeakReferent &)=default
 
 WeakReferent (WeakReferent &&)=default
 
WeakReferentoperator= (WeakReferent &&)=default
 

Constructor & Destructor Documentation

◆ WeakReferent()

fl::WeakReferent::WeakReferent ( )
inline

Definition at line 249 of file ptr.h.

◆ ~WeakReferent()

fl::WeakReferent::~WeakReferent ( )
inline

Definition at line 250 of file ptr.h.

Member Function Documentation

◆ destroy()

void fl::WeakReferent::destroy ( )
inline

Definition at line 259 of file ptr.h.

◆ getReferent()

Referent * fl::WeakReferent::getReferent ( ) const
inline

Definition at line 261 of file ptr.h.

◆ ref()

void fl::WeakReferent::ref ( )
inline

Definition at line 252 of file ptr.h.

◆ ref_count()

int fl::WeakReferent::ref_count ( ) const
inline

Definition at line 253 of file ptr.h.

◆ setReferent()

void fl::WeakReferent::setReferent ( Referent * referent)
inline

Definition at line 260 of file ptr.h.

◆ unref()

void fl::WeakReferent::unref ( )
inline

Definition at line 254 of file ptr.h.


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