GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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)
 
virtual void Paint (Option_t *opt="")
 

Static Public Attributes

static const void * fxLastDeleted = 0
 

Private Attributes

TObject * fxOwner
 

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 62 of file TGo4LabelPainter.h.

Constructor & Destructor Documentation

TGo4LabelConnector::TGo4LabelConnector ( )
inline

Definition at line 65 of file TGo4LabelPainter.h.

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

Definition at line 66 of file TGo4LabelPainter.h.

virtual TGo4LabelConnector::~TGo4LabelConnector ( )
inlinevirtual

Definition at line 71 of file TGo4LabelPainter.h.

References fxLastDeleted.

Member Function Documentation

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

Definition at line 245 of file TGo4LabelPainter.cxx.

References fxOwner.

void TGo4LabelConnector::SetOwner ( TObject *  ob)
inline

Definition at line 73 of file TGo4LabelPainter.h.

References fxOwner.

Referenced by TGo4MarkerPainter::CheckConnector(), and TGo4MarkerPainter::PaintConnector().

Member Data Documentation

const void * TGo4LabelConnector::fxLastDeleted = 0
static

set this to pointer of last deleted instance before

Definition at line 78 of file TGo4LabelPainter.h.

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

TObject* TGo4LabelConnector::fxOwner
private

the owner of this connector line

Definition at line 82 of file TGo4LabelPainter.h.

Referenced by Paint(), and SetOwner().


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