MOS Source Code
Loading...
Searching...
No Matches
RefCounted Struct Reference

#include <refcount.hpp>

+ Inheritance diagram for RefCounted:
+ Collaboration diagram for RefCounted:

Protected Member Functions

 RefCounted (RCCore *rc_)
 
 RefCounted (const RefCounted &a)
 
 RefCounted (RefCounted &&a)
 
 ~RefCounted ()
 
RefCounted operator= (const RefCounted &a)=delete
 
RefCounted operator= (RefCounted &&a)=delete
 
size_t GetRef () const
 

Private Attributes

RCCorerc = nullptr
 

Detailed Description

Definition at line 26 of file refcount.hpp.

Constructor & Destructor Documentation

◆ RefCounted() [1/3]

RefCounted ( RCCore * rc_)
inlineexplicitprotected

◆ RefCounted() [2/3]

RefCounted ( const RefCounted & a)
inlineprotected

Definition at line 34 of file refcount.hpp.

+ Here is the call graph for this function:

◆ RefCounted() [3/3]

RefCounted ( RefCounted && a)
inlineprotected

Definition at line 39 of file refcount.hpp.

+ Here is the call graph for this function:

◆ ~RefCounted()

~RefCounted ( )
inlineprotected

Definition at line 44 of file refcount.hpp.

Member Function Documentation

◆ operator=() [1/2]

RefCounted operator= ( const RefCounted & a)
protecteddelete
+ Here is the call graph for this function:

◆ operator=() [2/2]

RefCounted operator= ( RefCounted && a)
protecteddelete
+ Here is the call graph for this function:

◆ GetRef()

size_t GetRef ( ) const
inlineprotected

Definition at line 56 of file refcount.hpp.

Referenced by SyslogStreamWriter::~SyslogStreamWriter().

Member Data Documentation

◆ rc

RCCore* rc = nullptr
private

Definition at line 62 of file refcount.hpp.

Referenced by GetRef(), RefCounted(), RefCounted(), RefCounted(), and ~RefCounted().


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