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

#include <TGo4LabelPainter.h>

+ Inheritance diagram for TGo4Label:

Public Member Functions

 TGo4Label ()
 
 TGo4Label (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="br")
 
virtual ~TGo4Label ()
 
void SetOwner (TObject *ob)
 
void Paint (Option_t *opt="") override
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 

Static Public Attributes

static const void * fxLastDeleted = nullptr
 

Private Attributes

TObject * fxOwner {nullptr}
 

Detailed Description

Text label that knows its author. Required to suppress orphaned copies of marker and condition labels after canvas reconstruction by streamer.

Since
8/2004
Author
J. Adamczewski

Definition at line 27 of file TGo4LabelPainter.h.

Constructor & Destructor Documentation

◆ TGo4Label() [1/2]

TGo4Label::TGo4Label ( )
inline

Definition at line 30 of file TGo4LabelPainter.h.

◆ TGo4Label() [2/2]

TGo4Label::TGo4Label ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Option_t *  option = "br" 
)
inline

Definition at line 32 of file TGo4LabelPainter.h.

◆ ~TGo4Label()

virtual TGo4Label::~TGo4Label ( )
inlinevirtual

Definition at line 38 of file TGo4LabelPainter.h.

References fxLastDeleted.

Member Function Documentation

◆ ExecuteEvent()

void TGo4Label::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
override

◆ Paint()

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

◆ SetOwner()

void TGo4Label::SetOwner ( TObject *  ob)
inline

Member Data Documentation

◆ fxLastDeleted

const void * TGo4Label::fxLastDeleted = nullptr
static

set this to pointer of last deleted instance before

Definition at line 47 of file TGo4LabelPainter.h.

Referenced by TGo4LabelPainter::CheckLabel(), TGo4LabelPainter::GetLabelYup(), ~TGo4Label(), and TGo4LabelConnector::~TGo4LabelConnector().

◆ fxOwner

TObject* TGo4Label::fxOwner {nullptr}
private

the owner of this label

Definition at line 51 of file TGo4LabelPainter.h.

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


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