neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::ref_control_block Class Reference

#include <reference_counted.hpp>

Inheritance diagram for neolib::ref_control_block:
neolib::i_ref_control_block

Public Member Functions

 ref_control_block (i_reference_counted &aManagedPtr)
 
i_reference_countedptr () const noexcept override
 
bool expired () const noexcept override
 
int32_t weak_use_count () const noexcept override
 
void add_ref () noexcept override
 
void release () override
 
- Public Member Functions inherited from neolib::i_ref_control_block
virtual ~i_ref_control_block ()=default
 

Friends

template<typename , bool >
class reference_counted
 

Detailed Description

Definition at line 49 of file reference_counted.hpp.

Constructor & Destructor Documentation

◆ ref_control_block()

neolib::ref_control_block::ref_control_block ( i_reference_counted aManagedPtr)
inline

Definition at line 54 of file reference_counted.hpp.

Member Function Documentation

◆ add_ref()

void neolib::ref_control_block::add_ref ( )
inlineoverridevirtualnoexcept

Implements neolib::i_ref_control_block.

Definition at line 72 of file reference_counted.hpp.

◆ expired()

bool neolib::ref_control_block::expired ( ) const
inlineoverridevirtualnoexcept

Implements neolib::i_ref_control_block.

Definition at line 64 of file reference_counted.hpp.

◆ ptr()

i_reference_counted * neolib::ref_control_block::ptr ( ) const
inlineoverridevirtualnoexcept

Implements neolib::i_ref_control_block.

Definition at line 60 of file reference_counted.hpp.

◆ release()

void neolib::ref_control_block::release ( )
inlineoverridevirtual

Implements neolib::i_ref_control_block.

Definition at line 76 of file reference_counted.hpp.

◆ weak_use_count()

int32_t neolib::ref_control_block::weak_use_count ( ) const
inlineoverridevirtualnoexcept

Implements neolib::i_ref_control_block.

Definition at line 68 of file reference_counted.hpp.

Friends And Related Symbol Documentation

◆ reference_counted

Definition at line 52 of file reference_counted.hpp.


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