GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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 HasSublevels () const override
 
Int_t GetObjectKind () const override
 
const char * GetContainedClassName () const override
 
void Initialize (TGo4Slot *slot) override
 
void Finalize (TGo4Slot *slot) override
 
Bool_t RemoveRegisteredObject (TObject *obj) override
 
TGo4LevelIterMakeIter () override
 
std::unique_ptr< TGo4AccessProvideAccess (const char *name) override
 
void WriteData (TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs) override
 
void ReadData (TGo4Slot *slot, TDirectory *dir) override
 
Bool_t IsAcceptObject (TClass *cl) const override
 
Bool_t AssignObject (TGo4Slot *slot, TObject *obj, Bool_t owner) override
 
TObject * GetAssignedObject () override
 
- Public Member Functions inherited from TGo4Proxy
 TGo4Proxy ()
 
virtual ~TGo4Proxy ()
 
virtual Bool_t Use () const
 
virtual const char * GetContainedObjectInfo ()
 
virtual Int_t GetObjectSizeInfo () const
 
virtual void Update (TGo4Slot *, Bool_t)
 
virtual Bool_t ProcessEvent (TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param)
 
 ClassDefOverride (TGo4Proxy, 1)
 

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, 1)
 

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.

◆ TGo4CanvasProxy() [2/2]

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

Definition at line 128 of file TGo4CanvasProxy.cxx.

◆ ~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 ProvideAccess(), and ReadData().

◆ ClassDefOverride()

TGo4CanvasProxy::ClassDefOverride ( TGo4CanvasProxy  ,
 
)
protected

◆ 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(), and HasSublevels().

◆ GetAssignedObject()

TObject * TGo4CanvasProxy::GetAssignedObject ( )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 219 of file TGo4CanvasProxy.cxx.

References fCanvas.

Referenced by ProvideAccess().

◆ GetContainedClassName()

const char * TGo4CanvasProxy::GetContainedClassName ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 145 of file TGo4CanvasProxy.cxx.

References fCanvas.

Referenced by HasSublevels().

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

Referenced by HasSublevels().

◆ HasSublevels()

Bool_t TGo4CanvasProxy::HasSublevels ( ) const
inlineoverridevirtual

◆ 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(), and HasSublevels().

◆ IsAcceptObject()

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

Reimplemented from TGo4Proxy.

Definition at line 197 of file TGo4CanvasProxy.cxx.

Referenced by ProvideAccess().

◆ 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

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

Referenced by ProvideAccess().

◆ RemoveRegisteredObject()

Bool_t TGo4CanvasProxy::RemoveRegisteredObject ( TObject *  obj)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 162 of file TGo4CanvasProxy.cxx.

References fCanvas, and fOwner.

Referenced by HasSublevels().

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

Referenced by ProvideAccess().

Member Data Documentation

◆ fCanvas

TCanvas* TGo4CanvasProxy::fCanvas {nullptr}
protected

◆ fOwner

Bool_t TGo4CanvasProxy::fOwner {kFALSE}
protected

Definition at line 53 of file TGo4CanvasProxy.h.

Referenced by AssignObject(), RemoveRegisteredObject(), and ~TGo4CanvasProxy().


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