Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveRefCnt Class Reference

Base-class for reference-counted objects.

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

Definition at line 162 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 168 of file TEveUtil.h.

◆ ~TEveRefCnt()

virtual TEveRefCnt::~TEveRefCnt ( )
inlinevirtual

Definition at line 169 of file TEveUtil.h.

◆ TEveRefCnt() [2/2]

TEveRefCnt::TEveRefCnt ( const TEveRefCnt )
inline

Definition at line 171 of file TEveUtil.h.

Member Function Documentation

◆ DecRefCount()

void TEveRefCnt::DecRefCount ( )
inline

Definition at line 175 of file TEveUtil.h.

◆ IncRefCount()

void TEveRefCnt::IncRefCount ( )
inline

Definition at line 174 of file TEveUtil.h.

◆ OnZeroRefCount()

virtual void TEveRefCnt::OnZeroRefCount ( )
inlinevirtual

Reimplemented in TEveFrameBox, TEveRGBAPalette, and TEveTrackPropagator.

Definition at line 177 of file TEveUtil.h.

◆ operator=()

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

Definition at line 172 of file TEveUtil.h.

Member Data Documentation

◆ fRefCount

Int_t TEveRefCnt::fRefCount
protected

Definition at line 165 of file TEveUtil.h.

Libraries for TEveRefCnt:

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