ROOT logo
ROOT » GRAF3D » EVE » TEveRefBackPtr

class TEveRefBackPtr: public TEveRefCnt

 Base-class for reference-counted objects with reverse references to
 TEveElement objects.

Function Members (Methods)

TEveRefBackPtr(const TEveRefBackPtr&)
static TClass*Class()
virtual voidDecRefCount(TEveElement* re)
virtual voidIncRefCount(TEveElement* re)
virtual TClass*IsA() const
virtual voidTEveRefCnt::OnZeroRefCount()
TEveRefBackPtr&operator=(const TEveRefBackPtr&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStampBackPtrElements(UChar_t stamps)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members


Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

 Default constructor.
 Destructor. Noop, should complain if back-ref list is not empty.
TEveRefBackPtr(const TEveRefBackPtr& )
 Copy constructor. New copy starts with zero reference count and
 empty back-reference list.
TEveRefBackPtr& operator=(const TEveRefBackPtr& )
 Assignment operator. Reference count and back-reference
 information is not assigned as these object hold pointers to a
 specific object.
void IncRefCount(TEveElement* re)
 Increase reference cound and add re to the list of back-references.
void DecRefCount(TEveElement* re)
 Decrease reference cound and remove re from the list of back-references.
void StampBackPtrElements(UChar_t stamps)
 Add givem stamps to elements in the list of reverse references.