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

#include <TGo4ObjectProxy.h>

+ Inheritance diagram for TGo4ObjectProxy:

Public Member Functions

 TGo4ObjectProxy ()
 
 TGo4ObjectProxy (TObject *obj, Bool_t owner=kFALSE)
 
virtual ~TGo4ObjectProxy ()
 
Bool_t AssignObject (TGo4Slot *slot, TObject *obj, Bool_t owner) override
 
void Finalize (TGo4Slot *slot) override
 
TObject * GetAssignedObject () override
 
const char * GetContainedClassName () const override
 
const char * GetContainedObjectInfo () override
 
Int_t GetObjectKind () const override
 
Int_t GetObjectSizeInfo () 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 Bool_t HasSublevels () 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 Long_t DefineObjectSize (TObject *obj)
 
- Static Public Member Functions inherited from TGo4Proxy
static TClass * GetClass (const char *classname, Bool_t load=kFALSE)
 

Protected Member Functions

 ClassDefOverride (TGo4ObjectProxy, 0)
 

Protected Attributes

TObject * fObject {nullptr}
 
Bool_t fOwner {kFALSE}
 

Detailed Description

Definition at line 34 of file TGo4ObjectProxy.h.

Constructor & Destructor Documentation

◆ TGo4ObjectProxy() [1/2]

◆ TGo4ObjectProxy() [2/2]

TGo4ObjectProxy::TGo4ObjectProxy ( TObject * obj,
Bool_t owner = kFALSE )

Definition at line 64 of file TGo4ObjectProxy.cxx.

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

◆ ~TGo4ObjectProxy()

TGo4ObjectProxy::~TGo4ObjectProxy ( )
virtual

Definition at line 73 of file TGo4ObjectProxy.cxx.

References fObject, and fOwner.

Member Function Documentation

◆ AssignObject()

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

◆ ClassDefOverride()

TGo4ObjectProxy::ClassDefOverride ( TGo4ObjectProxy ,
0  )
protected

References TGo4ObjectProxy().

◆ DefineObjectSize()

Long_t TGo4ObjectProxy::DefineObjectSize ( TObject * obj)
static

Definition at line 187 of file TGo4ObjectProxy.cxx.

References TGo4Picture::GetTotalSize().

Referenced by GetObjectSizeInfo(), and TGo4DirLevelIter::sizeinfo().

◆ Finalize()

void TGo4ObjectProxy::Finalize ( TGo4Slot * slot)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 84 of file TGo4ObjectProxy.cxx.

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

Referenced by AssignObject().

◆ GetAssignedObject()

TObject * TGo4ObjectProxy::GetAssignedObject ( )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 182 of file TGo4ObjectProxy.cxx.

References fObject.

◆ GetContainedClassName()

const char * TGo4ObjectProxy::GetContainedClassName ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 143 of file TGo4ObjectProxy.cxx.

References fObject.

◆ GetContainedObjectInfo()

const char * TGo4ObjectProxy::GetContainedObjectInfo ( )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 148 of file TGo4ObjectProxy.cxx.

References fObject.

◆ GetObjectKind()

Int_t TGo4ObjectProxy::GetObjectKind ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 138 of file TGo4ObjectProxy.cxx.

References fObject, TGo4Access::kndNone, and TGo4Access::kndObject.

◆ GetObjectSizeInfo()

Int_t TGo4ObjectProxy::GetObjectSizeInfo ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 153 of file TGo4ObjectProxy.cxx.

References DefineObjectSize(), fObject, and TGo4Proxy::GetObjectSizeInfo().

◆ Initialize()

void TGo4ObjectProxy::Initialize ( TGo4Slot * slot)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 78 of file TGo4ObjectProxy.cxx.

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

Referenced by AssignObject().

◆ IsAcceptObject()

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

Reimplemented from TGo4Proxy.

Definition at line 160 of file TGo4ObjectProxy.cxx.

◆ MakeIter()

TGo4LevelIter * TGo4ObjectProxy::MakeIter ( )
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 45 of file TGo4ObjectProxy.h.

◆ ProvideAccess()

std::unique_ptr< TGo4Access > TGo4ObjectProxy::ProvideAccess ( const char * name)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 99 of file TGo4ObjectProxy.cxx.

References fObject.

◆ ReadData()

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

Reimplemented from TGo4Proxy.

Definition at line 128 of file TGo4ObjectProxy.cxx.

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

◆ RemoveRegisteredObject()

Bool_t TGo4ObjectProxy::RemoveRegisteredObject ( TObject * obj)
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 90 of file TGo4ObjectProxy.cxx.

References fObject, and fOwner.

Referenced by TGo4DrawObjProxy::RemoveRegisteredObject().

◆ WriteData()

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

Reimplemented from TGo4Proxy.

Definition at line 107 of file TGo4ObjectProxy.cxx.

References fObject, and TGo4Slot::SetPar().

Field Documentation

◆ fObject

◆ fOwner

Bool_t TGo4ObjectProxy::fOwner {kFALSE}
protected

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