Grok 20.3.2
grk::RefCounted Class Reference

#include <RefCounted.h>

Inheritance diagram for grk::RefCounted:
grk::GrkObjectWrapperImpl< T >

Public Member Functions

 RefCounted ()
RefCountedref ()
void unref ()
 RefCounted (const RefCounted &)=delete
RefCountedoperator= (const RefCounted &)=delete

Protected Member Functions

virtual ~RefCounted ()=default

Private Attributes

std::atomic< uint32_t > ref_count

Constructor & Destructor Documentation

◆ RefCounted() [1/2]

grk::RefCounted::RefCounted ( )
inline

References ref_count.

Referenced by operator=(), ref(), and RefCounted().

◆ RefCounted() [2/2]

grk::RefCounted::RefCounted ( const RefCounted & )
delete

References RefCounted().

◆ ~RefCounted()

virtual grk::RefCounted::~RefCounted ( )
protectedvirtualdefault

Member Function Documentation

◆ operator=()

RefCounted & grk::RefCounted::operator= ( const RefCounted & )
delete

References RefCounted().

◆ ref()

RefCounted * grk::RefCounted::ref ( )
inline

References ref_count, and RefCounted().

◆ unref()

void grk::RefCounted::unref ( )
inline

References grk::grklog, and ref_count.

Member Data Documentation

◆ ref_count

std::atomic<uint32_t> grk::RefCounted::ref_count
private

Referenced by ref(), RefCounted(), and unref().


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