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 TClassIsA () const
 
virtual void OnZeroRefCount ()
 
TEveRefCntoperator= (const TEveRefCnt &)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

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

◆ Class()

static TClass * TEveRefCnt::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TEveRefCnt::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TEveRefCnt::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 179 of file TEveUtil.h.

◆ DeclFileName()

static const char * TEveRefCnt::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 179 of file TEveUtil.h.

◆ 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.

◆ IsA()

virtual TClass * TEveRefCnt::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented in TEveFrameBox, TEveRGBAPalette, TEveTrackPropagator, and TEveRefBackPtr.

Definition at line 179 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.

◆ Streamer()

virtual void TEveRefCnt::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TEveRefCnt::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 179 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: