Zth (libzth)
Loading...
Searching...
No Matches
zth::RefCounted Class Reference

#include <util.h>

Inheritance diagram for zth::RefCounted:
zth::Fiber zth::SynchronizerBase zth::coro::promise_base zth::TypedFiber< void > zth::TypedFiber< R > zth::Synchronizer< 2 > zth::Synchronizer< Size > zth::coro::promise< generator_promise< T... > > zth::coro::promise< task_promise< void > > zth::coro::promise< task_promise< T > > zth::coro::promise< Promise >

Public Member Functions

 RefCounted () noexcept
 
virtual ~RefCounted () noexcept
 
void used () noexcept
 
bool unused () noexcept
 
size_t refs () const noexcept
 

Protected Member Functions

virtual void cleanup () noexcept
 

Detailed Description

Examples
socks.cpp.

Definition at line 942 of file util.h.

Constructor & Destructor Documentation

◆ RefCounted()

zth::RefCounted::RefCounted ( )
inlinenoexcept

Definition at line 945 of file util.h.

◆ ~RefCounted()

virtual zth::RefCounted::~RefCounted ( )
inlinevirtualnoexcept

Definition at line 949 of file util.h.

Member Function Documentation

◆ cleanup()

virtual void zth::RefCounted::cleanup ( )
inlineprotectedvirtualnoexcept

Definition at line 976 of file util.h.

◆ refs()

size_t zth::RefCounted::refs ( ) const
inlinenoexcept

Definition at line 970 of file util.h.

◆ unused()

bool zth::RefCounted::unused ( )
inlinenoexcept

Definition at line 960 of file util.h.

◆ used()

void zth::RefCounted::used ( )
inlinenoexcept

Definition at line 954 of file util.h.


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