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

#include <TGo4CanvasProxy.h>

+ Inheritance diagram for TGo4CanvasProxy:

Public Member Functions

 TGo4CanvasProxy ()
 
 TGo4CanvasProxy (TCanvas *c, Bool_t owner=kFALSE)
 
virtual ~TGo4CanvasProxy ()
 
Bool_t AssignObject (TGo4Slot *slot, TObject *obj, Bool_t owner) override
 
void Finalize (TGo4Slot *slot) override
 
TObject * GetAssignedObject () override
 
const char * GetContainedClassName () const override
 
Int_t GetObjectKind () const override
 
Bool_t HasSublevels () const override
 
void Initialize (TGo4Slot *slot) override
 
Bool_t IsAcceptObject (TClass *cl) const override
 
TGo4LevelIterMakeIter () override
 
std::unique_ptr< TGo4AccessProvideAccess (const char *name) override
 
void ReadData (TGo4Slot *slot, TDirectory *dir) override
 
Bool_t RemoveRegisteredObject (TObject *obj) override
 
void WriteData (TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs) override
 
- Public Member Functions inherited from TGo4Proxy
 TGo4Proxy ()
 
virtual ~TGo4Proxy ()
 
 ClassDefOverride (TGo4Proxy, 0)
 
virtual const char * GetContainedObjectInfo ()
 
virtual Int_t GetObjectSizeInfo () const
 
virtual Bool_t ProcessEvent (TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param)
 
virtual void Update (TGo4Slot *, Bool_t)
 
virtual Bool_t Use () const
 

Static Public Member Functions

static std::unique_ptr< TGo4AccessCreateAccess (TCanvas *canv, const char *name)
 
static TGo4LevelIterProduceIter (TCanvas *canv)
 
- Static Public Member Functions inherited from TGo4Proxy
static TClass * GetClass (const char *classname, Bool_t load=kFALSE)
 

Protected Member Functions

 ClassDefOverride (TGo4CanvasProxy, 0)
 

Protected Attributes

TCanvas * fCanvas {nullptr}
 
Bool_t fOwner {kFALSE}
 

Detailed Description

Definition at line 21 of file TGo4CanvasProxy.h.

Constructor & Destructor Documentation

◆ TGo4CanvasProxy() [1/2]

TGo4CanvasProxy::TGo4CanvasProxy ( )

Definition at line 123 of file TGo4CanvasProxy.cxx.

References TGo4Proxy::TGo4Proxy().

Referenced by ClassDefOverride().

◆ TGo4CanvasProxy() [2/2]

TGo4CanvasProxy::TGo4CanvasProxy ( TCanvas * c,
Bool_t owner = kFALSE )

Definition at line 128 of file TGo4CanvasProxy.cxx.

References TGo4Proxy::TGo4Proxy(), fCanvas, and fOwner.

◆ ~TGo4CanvasProxy()

TGo4CanvasProxy::~TGo4CanvasProxy ( )
virtual

Definition at line 135 of file TGo4CanvasProxy.cxx.

References fCanvas, and fOwner.

Member Function Documentation

◆ AssignObject()

Bool_t TGo4CanvasProxy::AssignObject ( TGo4Slot * slot,
TObject * obj,
Bool_t owner )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 202 of file TGo4CanvasProxy.cxx.

References TGo4Slot::evObjAssigned, fCanvas, Finalize(), TGo4Slot::ForwardEvent(), fOwner, and Initialize().

Referenced by ReadData().

◆ ClassDefOverride()

TGo4CanvasProxy::ClassDefOverride ( TGo4CanvasProxy ,
0  )
protected

References TGo4CanvasProxy().

◆ CreateAccess()

std::unique_ptr< TGo4Access > TGo4CanvasProxy::CreateAccess ( TCanvas * canv,
const char * name )
static

◆ Finalize()

void TGo4CanvasProxy::Finalize ( TGo4Slot * slot)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 156 of file TGo4CanvasProxy.cxx.

References fCanvas, TGo4Slot::GetOM(), and TGo4ObjectManager::UnregisterObject().

Referenced by AssignObject().

◆ GetAssignedObject()

TObject * TGo4CanvasProxy::GetAssignedObject ( )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 219 of file TGo4CanvasProxy.cxx.

References fCanvas.

◆ GetContainedClassName()

const char * TGo4CanvasProxy::GetContainedClassName ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 145 of file TGo4CanvasProxy.cxx.

References fCanvas.

◆ GetObjectKind()

Int_t TGo4CanvasProxy::GetObjectKind ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 140 of file TGo4CanvasProxy.cxx.

References fCanvas, TGo4Access::kndFolder, and TGo4Access::kndNone.

◆ HasSublevels()

Bool_t TGo4CanvasProxy::HasSublevels ( ) const
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 27 of file TGo4CanvasProxy.h.

References fCanvas.

◆ Initialize()

void TGo4CanvasProxy::Initialize ( TGo4Slot * slot)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 150 of file TGo4CanvasProxy.cxx.

References fCanvas, TGo4Slot::GetOM(), and TGo4ObjectManager::RegisterObjectWith().

Referenced by AssignObject().

◆ IsAcceptObject()

Bool_t TGo4CanvasProxy::IsAcceptObject ( TClass * cl) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 197 of file TGo4CanvasProxy.cxx.

◆ MakeIter()

TGo4LevelIter * TGo4CanvasProxy::MakeIter ( )
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 35 of file TGo4CanvasProxy.h.

References fCanvas, and ProduceIter().

◆ ProduceIter()

TGo4LevelIter * TGo4CanvasProxy::ProduceIter ( TCanvas * canv)
static

◆ ProvideAccess()

std::unique_ptr< TGo4Access > TGo4CanvasProxy::ProvideAccess ( const char * name)
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 38 of file TGo4CanvasProxy.h.

References CreateAccess(), and fCanvas.

◆ ReadData()

void TGo4CanvasProxy::ReadData ( TGo4Slot * slot,
TDirectory * dir )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 187 of file TGo4CanvasProxy.cxx.

References AssignObject(), and TGo4Slot::GetPar().

◆ RemoveRegisteredObject()

Bool_t TGo4CanvasProxy::RemoveRegisteredObject ( TObject * obj)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 162 of file TGo4CanvasProxy.cxx.

References fCanvas, and fOwner.

◆ WriteData()

void TGo4CanvasProxy::WriteData ( TGo4Slot * slot,
TDirectory * dir,
Bool_t onlyobjs )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 171 of file TGo4CanvasProxy.cxx.

References fCanvas, and TGo4Slot::SetPar().

Field Documentation

◆ fCanvas

◆ fOwner

Bool_t TGo4CanvasProxy::fOwner {kFALSE}
protected

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