OpendTect
6.6
|
Public Member Functions | |
void | addObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
int | nrRefs () const |
Only for expert use. More... | |
void | ref () const |
bool | refIfReffed () const |
Don't use in production, for debugging. More... | |
void | removeObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
bool | tryRef () const |
Not for normal use. May become private. More... | |
void | unRef () const |
void | unRefNoDelete () const |
Static Public Member Functions | |
static bool | isSane (const Referenced *) |
Protected Member Functions | |
Referenced () | |
Referenced (const Referenced &) | |
virtual | ~Referenced () |
Referenced & | operator= (const Referenced &) |
Private Member Functions | |
virtual void | prepareForDelete () |
virtual void | refNotify () const |
virtual void | unRefNoDeleteNotify () const |
virtual void | unRefNotify () const |
Private Attributes | |
const uint64_t | magicnumber_ = 0x123456789abcdef |
Counter | refcount_ |
Friends | |
class | WeakPtrBase |
Base class for reference counted object. Inhereit and refcounting will be enabled. Ensure to make your destructor protected to enforce correct usage.
<>
|
inlineprotected |
|
protected |
|
protectedvirtual |
void RefCount::Referenced::addObserver | ( | WeakPtrBase * | obs | ) |
Not for normal use. May become private.
|
static |
int RefCount::Referenced::nrRefs | ( | ) | const |
Only for expert use.
|
protected |
|
inlineprivatevirtual |
Reimplemented in EM::EMObject.
void RefCount::Referenced::ref | ( | ) | const |
bool RefCount::Referenced::refIfReffed | ( | ) | const |
Don't use in production, for debugging.
|
inlineprivatevirtual |
void RefCount::Referenced::removeObserver | ( | WeakPtrBase * | obs | ) |
Not for normal use. May become private.
bool RefCount::Referenced::tryRef | ( | ) | const |
Not for normal use. May become private.
void RefCount::Referenced::unRef | ( | ) | const |
void RefCount::Referenced::unRefNoDelete | ( | ) | const |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
friend |
|
private |
|
mutableprivate |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022