#include <orphanable.h>
Public Member Functions | |
InternallyRefCounted (const InternallyRefCounted &)=delete | |
InternallyRefCounted & | operator= (const InternallyRefCounted &)=delete |
![]() | |
Orphanable & | operator= (const Orphanable &)=delete |
virtual void | Orphan ()=0 |
Orphanable (const Orphanable &)=delete | |
Protected Member Functions | |
InternallyRefCounted (const char *trace=nullptr, intptr_t initial_refcount=1) | |
RefCountedPtr< Child > | Ref () GRPC_MUST_USE_RESULT |
RefCountedPtr< Child > | Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
void | Unref () |
void | Unref (const DebugLocation &location, const char *reason) |
~InternallyRefCounted () override=default | |
![]() | |
Orphanable () | |
virtual | ~Orphanable () |
Private Member Functions | |
void | IncrementRefCount () |
void | IncrementRefCount (const DebugLocation &location, const char *reason) |
Private Attributes | |
RefCount | refs_ |
Friends | |
template<typename T > | |
class | RefCountedPtr |
Definition at line 73 of file orphanable.h.
|
delete |
|
inlineexplicitprotected |
Definition at line 85 of file orphanable.h.
|
overrideprotecteddefault |
|
inlineprivate |
Definition at line 112 of file orphanable.h.
|
inlineprivate |
Definition at line 113 of file orphanable.h.
|
delete |
|
inlineprotected |
Definition at line 90 of file orphanable.h.
|
inlineprotected |
Definition at line 94 of file orphanable.h.
|
inlineprotected |
Definition at line 100 of file orphanable.h.
|
inlineprotected |
Definition at line 105 of file orphanable.h.
|
friend |
Definition at line 82 of file orphanable.h.
|
private |
Definition at line 117 of file orphanable.h.