class TEveRefCnt


 Base-class for reference-counted objects.
 By default the object is destroyed when zero referece-count is reached.

Function Members (Methods)

public:
TEveRefCnt()
TEveRefCnt(const TEveRefCnt&)
virtual~TEveRefCnt()
static TClass*Class()
voidDecRefCount()
voidIncRefCount()
virtual TClass*IsA() const
virtual voidOnZeroRefCount()
TEveRefCnt&operator=(const TEveRefCnt&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
Int_tfRefCount

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TEvePadHolder& operator=(const TEveRefCnt& )
TEveRefCnt(const TEveRefCnt& )
{}
virtual ~TEveRefCnt()
{}
TEveRefCnt(const TEveRefCnt& )
{}
void IncRefCount()
{ ++fRefCount; }
void DecRefCount()
{ if(--fRefCount <= 0) OnZeroRefCount(); }
void OnZeroRefCount()
{ delete this; }

Last change: root/eve:$Id: TEveUtil.h 24146 2008-06-04 19:32:56Z matevz $
Last generated: 2008-06-25 08:38
Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.