#include <ref_counted.h>
Public Types | |
using | RefCountedChildType = Child |
Public Member Functions | |
RefCounted & | operator= (const RefCounted &)=delete |
RefCountedPtr< Child > | Ref () GRPC_MUST_USE_RESULT |
RefCountedPtr< Child > | Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
RefCounted (const RefCounted &)=delete | |
RefCountedPtr< Child > | RefIfNonZero () GRPC_MUST_USE_RESULT |
RefCountedPtr< Child > | RefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
void | Unref () |
void | Unref (const DebugLocation &location, const char *reason) |
~RefCounted ()=default | |
![]() | |
virtual | ~PolymorphicRefCount ()=default |
Protected Member Functions | |
RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1) | |
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 280 of file ref_counted.h.
using grpc_core::RefCounted< Child, Impl, UnrefBehaviorArg >::RefCountedChildType = Child |
Definition at line 282 of file ref_counted.h.
|
default |
|
delete |
|
inlineexplicitprotected |
Definition at line 330 of file ref_counted.h.
|
inlineprivate |
Definition at line 339 of file ref_counted.h.
|
inlineprivate |
Definition at line 340 of file ref_counted.h.
|
delete |
|
inline |
Definition at line 287 of file ref_counted.h.
|
inline |
Definition at line 292 of file ref_counted.h.
|
inline |
Definition at line 313 of file ref_counted.h.
|
inline |
Definition at line 317 of file ref_counted.h.
|
inline |
Definition at line 302 of file ref_counted.h.
|
inline |
Definition at line 307 of file ref_counted.h.
|
friend |
Definition at line 337 of file ref_counted.h.
|
private |
Definition at line 344 of file ref_counted.h.