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
TGo4HStackProxy Class Reference

#include <TGo4HStackProxy.h>

+ Inheritance diagram for TGo4HStackProxy:

Public Member Functions

 TGo4HStackProxy ()
 
 TGo4HStackProxy (THStack *hs, Bool_t owner=kFALSE)
 
virtual ~TGo4HStackProxy ()
 
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 (THStack *hs, const char *name)
 
static TGo4LevelIterProduceIter (THStack *hs)
 
- Static Public Member Functions inherited from TGo4Proxy
static TClass * GetClass (const char *classname, Bool_t load=kFALSE)
 

Protected Member Functions

 ClassDefOverride (TGo4HStackProxy, 1)
 

Protected Attributes

THStack * fHS {nullptr}
 
Bool_t fOwner {kFALSE}
 

Detailed Description

Definition at line 21 of file TGo4HStackProxy.h.

Constructor & Destructor Documentation

◆ TGo4HStackProxy() [1/2]

TGo4HStackProxy::TGo4HStackProxy ( )

Definition at line 81 of file TGo4HStackProxy.cxx.

◆ TGo4HStackProxy() [2/2]

TGo4HStackProxy::TGo4HStackProxy ( THStack *  hs,
Bool_t  owner = kFALSE 
)

Definition at line 88 of file TGo4HStackProxy.cxx.

◆ ~TGo4HStackProxy()

TGo4HStackProxy::~TGo4HStackProxy ( )
virtual

Definition at line 95 of file TGo4HStackProxy.cxx.

References fHS, and fOwner.

Member Function Documentation

◆ AssignObject()

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

Reimplemented from TGo4Proxy.

Definition at line 162 of file TGo4HStackProxy.cxx.

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

Referenced by ProvideAccess(), and ReadData().

◆ ClassDefOverride()

TGo4HStackProxy::ClassDefOverride ( TGo4HStackProxy  ,
 
)
protected

◆ CreateAccess()

std::unique_ptr< TGo4Access > TGo4HStackProxy::CreateAccess ( THStack *  hs,
const char *  name 
)
static

◆ Finalize()

void TGo4HStackProxy::Finalize ( TGo4Slot slot)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 116 of file TGo4HStackProxy.cxx.

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

Referenced by AssignObject(), and HasSublevels().

◆ GetAssignedObject()

TObject * TGo4HStackProxy::GetAssignedObject ( )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 179 of file TGo4HStackProxy.cxx.

References fHS.

Referenced by ProvideAccess().

◆ GetContainedClassName()

const char * TGo4HStackProxy::GetContainedClassName ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 105 of file TGo4HStackProxy.cxx.

References fHS.

Referenced by HasSublevels().

◆ GetObjectKind()

Int_t TGo4HStackProxy::GetObjectKind ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 100 of file TGo4HStackProxy.cxx.

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

Referenced by HasSublevels().

◆ HasSublevels()

Bool_t TGo4HStackProxy::HasSublevels ( ) const
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 27 of file TGo4HStackProxy.h.

References fHS, Finalize(), GetContainedClassName(), GetObjectKind(), Initialize(), and RemoveRegisteredObject().

◆ Initialize()

void TGo4HStackProxy::Initialize ( TGo4Slot slot)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 110 of file TGo4HStackProxy.cxx.

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

Referenced by AssignObject(), and HasSublevels().

◆ IsAcceptObject()

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

Reimplemented from TGo4Proxy.

Definition at line 157 of file TGo4HStackProxy.cxx.

Referenced by ProvideAccess().

◆ MakeIter()

TGo4LevelIter* TGo4HStackProxy::MakeIter ( )
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 35 of file TGo4HStackProxy.h.

References fHS, and ProduceIter().

◆ ProduceIter()

TGo4LevelIter * TGo4HStackProxy::ProduceIter ( THStack *  hs)
static

◆ ProvideAccess()

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

◆ ReadData()

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

Reimplemented from TGo4Proxy.

Definition at line 147 of file TGo4HStackProxy.cxx.

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

Referenced by ProvideAccess().

◆ RemoveRegisteredObject()

Bool_t TGo4HStackProxy::RemoveRegisteredObject ( TObject *  obj)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 122 of file TGo4HStackProxy.cxx.

References fHS, and fOwner.

Referenced by HasSublevels().

◆ WriteData()

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

Reimplemented from TGo4Proxy.

Definition at line 131 of file TGo4HStackProxy.cxx.

References fHS, and TGo4Slot::SetPar().

Referenced by ProvideAccess().

Member Data Documentation

◆ fHS

THStack* TGo4HStackProxy::fHS {nullptr}
protected

◆ fOwner

Bool_t TGo4HStackProxy::fOwner {kFALSE}
protected

Definition at line 53 of file TGo4HStackProxy.h.

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


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