GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
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 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 (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, 0)
 

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.

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

Referenced by ClassDefOverride().

◆ TGo4HStackProxy() [2/2]

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

Definition at line 88 of file TGo4HStackProxy.cxx.

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

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

◆ ClassDefOverride()

TGo4HStackProxy::ClassDefOverride ( TGo4HStackProxy ,
0  )
protected

References TGo4HStackProxy().

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

◆ GetAssignedObject()

TObject * TGo4HStackProxy::GetAssignedObject ( )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 179 of file TGo4HStackProxy.cxx.

References fHS.

◆ GetContainedClassName()

const char * TGo4HStackProxy::GetContainedClassName ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 105 of file TGo4HStackProxy.cxx.

References fHS.

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

◆ HasSublevels()

Bool_t TGo4HStackProxy::HasSublevels ( ) const
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 27 of file TGo4HStackProxy.h.

References fHS.

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

◆ IsAcceptObject()

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

Reimplemented from TGo4Proxy.

Definition at line 157 of file TGo4HStackProxy.cxx.

◆ 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

Reimplemented from TGo4Proxy.

Definition at line 38 of file TGo4HStackProxy.h.

References CreateAccess(), and fHS.

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

◆ RemoveRegisteredObject()

Bool_t TGo4HStackProxy::RemoveRegisteredObject ( TObject * obj)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 122 of file TGo4HStackProxy.cxx.

References fHS, and fOwner.

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

Field Documentation

◆ fHS

◆ fOwner

Bool_t TGo4HStackProxy::fOwner {kFALSE}
protected

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