GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
TGo4LabelConnector Class Reference

#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 SetOwner (TObject *ob)
 
void Paint (Option_t *opt="") override
 

Static Public Attributes

static const void * fxLastDeleted = nullptr
 

Private Attributes

TObject * fxOwner {nullptr}
 

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.

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

◆ ~TGo4LabelConnector()

virtual TGo4LabelConnector::~TGo4LabelConnector ( )
inlinevirtual

Definition at line 73 of file TGo4LabelPainter.h.

References TGo4Label::fxLastDeleted.

Member Function Documentation

◆ Paint()

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

Definition at line 232 of file TGo4LabelPainter.cxx.

◆ SetOwner()

void TGo4LabelConnector::SetOwner ( TObject *  ob)
inline

Member Data 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 TGo4MarkerPainter::CheckConnector(), and TGo4Label::ExecuteEvent().

◆ fxOwner

TObject* TGo4LabelConnector::fxOwner {nullptr}
private

the owner of this connector line

Definition at line 84 of file TGo4LabelPainter.h.


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