GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4LabelConnector Class Reference

Connection line for labels that knows its author. More...

#include <TGo4LabelPainter.h>

+ Inheritance diagram for TGo4LabelConnector:

Public Member Functions

 TGo4LabelConnector ()
 
 TGo4LabelConnector (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
virtual ~TGo4LabelConnector ()
 
void Paint (Option_t *opt="") override
 
void SetOwner (TObject *ob)
 

Static Public Attributes

static const void * fxLastDeleted = nullptr
 set this to pointer of last deleted instance before
 

Private Attributes

TObject * fxOwner {nullptr}
 the owner of this connector line
 

Detailed Description

Connection line for labels that knows its author.

Required to suppress orphaned copies of marker and condition label connectors after canvas reconstruction by streamer.

Since
8/2004
Author
J. Adamczewski

Definition at line 63 of file TGo4LabelPainter.h.

Constructor & Destructor Documentation

◆ TGo4LabelConnector() [1/2]

TGo4LabelConnector::TGo4LabelConnector ( )
inline

Definition at line 66 of file TGo4LabelPainter.h.

References fxOwner.

◆ TGo4LabelConnector() [2/2]

TGo4LabelConnector::TGo4LabelConnector ( Double_t x1,
Double_t y1,
Double_t x2,
Double_t y2 )
inline

Definition at line 68 of file TGo4LabelPainter.h.

References fxOwner.

◆ ~TGo4LabelConnector()

virtual TGo4LabelConnector::~TGo4LabelConnector ( )
inlinevirtual

Definition at line 73 of file TGo4LabelPainter.h.

References fxLastDeleted.

Member Function Documentation

◆ Paint()

void TGo4LabelConnector::Paint ( Option_t * opt = "")
override

Definition at line 232 of file TGo4LabelPainter.cxx.

References fxOwner.

◆ SetOwner()

void TGo4LabelConnector::SetOwner ( TObject * ob)
inline

Definition at line 75 of file TGo4LabelPainter.h.

References fxOwner.

Field Documentation

◆ fxLastDeleted

const void * TGo4LabelConnector::fxLastDeleted = nullptr
static

set this to pointer of last deleted instance before

Definition at line 80 of file TGo4LabelPainter.h.

Referenced by ~TGo4LabelConnector(), and TGo4MarkerPainter::CheckConnector().

◆ fxOwner

TObject* TGo4LabelConnector::fxOwner {nullptr}
private

the owner of this connector line

Definition at line 84 of file TGo4LabelPainter.h.

Referenced by TGo4LabelConnector(), TGo4LabelConnector(), Paint(), and SetOwner().


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