Base-class for reference-counted objects with reverse references to TEveElement objects.
Definition at line 186 of file TEveUtil.h.
Public Member Functions | |
TEveRefBackPtr () | |
Default constructor. | |
TEveRefBackPtr (const TEveRefBackPtr &) | |
Copy constructor. | |
~TEveRefBackPtr () override | |
Destructor. Noop, should complain if back-ref list is not empty. | |
void | DecRefCount () |
virtual void | DecRefCount (TEveElement *re) |
Decrease reference count and remove re from the list of back-references. | |
void | IncRefCount () |
virtual void | IncRefCount (TEveElement *re) |
Increase reference count and add re to the list of back-references. | |
TClass * | IsA () const override |
TEveRefBackPtr & | operator= (const TEveRefBackPtr &) |
Assignment operator. | |
virtual void | StampBackPtrElements (UChar_t stamps) |
Add given stamps to elements in the list of reverse references. | |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TEveRefCnt | |
TEveRefCnt () | |
TEveRefCnt (const TEveRefCnt &) | |
virtual | ~TEveRefCnt () |
void | DecRefCount () |
void | IncRefCount () |
virtual void | OnZeroRefCount () |
TEveRefCnt & | operator= (const TEveRefCnt &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TEveRefCnt | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Types | |
typedef RefMap_t::iterator | RefMap_i |
typedef std::map< TEveElement *, Int_t > | RefMap_t |
Protected Attributes | |
RefMap_t | fBackRefs |
Protected Attributes inherited from TEveRefCnt | |
Int_t | fRefCount |
#include <TEveUtil.h>
|
protected |
Definition at line 190 of file TEveUtil.h.
|
protected |
Definition at line 189 of file TEveUtil.h.
TEveRefBackPtr::TEveRefBackPtr | ( | ) |
Default constructor.
Definition at line 540 of file TEveUtil.cxx.
|
override |
Destructor. Noop, should complain if back-ref list is not empty.
Definition at line 549 of file TEveUtil.cxx.
TEveRefBackPtr::TEveRefBackPtr | ( | const TEveRefBackPtr & | ) |
Copy constructor.
New copy starts with zero reference count and empty back-reference list.
Definition at line 558 of file TEveUtil.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 208 of file TEveUtil.h.
|
inlinestatic |
Definition at line 208 of file TEveUtil.h.
|
inline |
Definition at line 175 of file TEveUtil.h.
|
virtual |
Decrease reference count and remove re from the list of back-references.
Definition at line 586 of file TEveUtil.cxx.
|
inline |
Definition at line 174 of file TEveUtil.h.
|
virtual |
Increase reference count and add re to the list of back-references.
Definition at line 577 of file TEveUtil.cxx.
|
inlineoverridevirtual |
Reimplemented from TEveRefCnt.
Reimplemented in TEveTrackPropagator.
Definition at line 208 of file TEveUtil.h.
TEveRefBackPtr & TEveRefBackPtr::operator= | ( | const TEveRefBackPtr & | ) |
Assignment operator.
Reference count and back-reference information is not assigned as these object hold pointers to a specific object.
Definition at line 569 of file TEveUtil.cxx.
|
virtual |
Add given stamps to elements in the list of reverse references.
Definition at line 604 of file TEveUtil.cxx.
|
overridevirtual |
Reimplemented from TEveRefCnt.
Reimplemented in TEveTrackPropagator.
|
inline |
Definition at line 208 of file TEveUtil.h.
|
protected |
Definition at line 192 of file TEveUtil.h.