Public Member Functions | Static Public Attributes | Private Attributes

TGo4LabelConnector Class Reference

#include <TGo4LabelPainter.h>

List of all members.

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 char * fxLastDeleted = 0

Private Attributes

TObject * fxOwner

Detailed Description

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


Constructor & Destructor Documentation

TGo4LabelConnector::TGo4LabelConnector (  )  [inline]

Definition at line 64 of file TGo4LabelPainter.h.

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

Definition at line 65 of file TGo4LabelPainter.h.

virtual TGo4LabelConnector::~TGo4LabelConnector (  )  [inline, virtual]

Definition at line 68 of file TGo4LabelPainter.h.

References fxLastDeleted.


Member Function Documentation

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

Definition at line 240 of file TGo4LabelPainter.cxx.

References fxOwner.

void TGo4LabelConnector::SetOwner ( TObject *  ob  )  [inline]

Definition at line 69 of file TGo4LabelPainter.h.

References fxOwner.

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


Member Data Documentation

char * TGo4LabelConnector::fxLastDeleted = 0 [static]

set this to pointer of last deleted instance before

Definition at line 74 of file TGo4LabelPainter.h.

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

TObject* TGo4LabelConnector::fxOwner [private]

the owner of this connector line

Definition at line 78 of file TGo4LabelPainter.h.

Referenced by Paint(), and SetOwner().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines