Logo ROOT   6.21/01
Reference Guide
TEveRefCnt Class Reference

Base-class for reference-counted objects.

By default the object is destroyed when zero reference-count is reached.

Definition at line 163 of file TEveUtil.h.

Public Member Functions

 TEveRefCnt ()
 
 TEveRefCnt (const TEveRefCnt &)
 
virtual ~TEveRefCnt ()
 
void DecRefCount ()
 
void IncRefCount ()
 
virtual void OnZeroRefCount ()
 
TEveRefCntoperator= (const TEveRefCnt &)
 

Protected Attributes

Int_t fRefCount
 

#include <TEveUtil.h>

Inheritance diagram for TEveRefCnt:
[legend]

Constructor & Destructor Documentation

◆ TEveRefCnt() [1/2]

TEveRefCnt::TEveRefCnt ( )
inline

Definition at line 169 of file TEveUtil.h.

◆ ~TEveRefCnt()

virtual TEveRefCnt::~TEveRefCnt ( )
inlinevirtual

Definition at line 170 of file TEveUtil.h.

◆ TEveRefCnt() [2/2]

TEveRefCnt::TEveRefCnt ( const TEveRefCnt )
inline

Definition at line 172 of file TEveUtil.h.

Member Function Documentation

◆ DecRefCount()

void TEveRefCnt::DecRefCount ( )
inline

Definition at line 176 of file TEveUtil.h.

◆ IncRefCount()

void TEveRefCnt::IncRefCount ( )
inline

Definition at line 175 of file TEveUtil.h.

◆ OnZeroRefCount()

virtual void TEveRefCnt::OnZeroRefCount ( )
inlinevirtual

Reimplemented in TEveTrackPropagator.

Definition at line 178 of file TEveUtil.h.

◆ operator=()

TEveRefCnt& TEveRefCnt::operator= ( const TEveRefCnt )
inline

Definition at line 173 of file TEveUtil.h.

Member Data Documentation

◆ fRefCount

Int_t TEveRefCnt::fRefCount
protected

Definition at line 166 of file TEveUtil.h.


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