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

#include <TGo4Proxy.h>

+ Inheritance diagram for TGo4Access:

Public Types

enum  {
  kndNone = -1 , kndObject = 0 , kndFolder = 1 , kndTreeBranch = 2 ,
  kndTreeLeaf = 3 , kndGo4Param = 4 , kndDataMember = 5 , kndEventElement = 6 ,
  kndMoreFolder = 7 , kndRootCommand = 8
}
 

Public Member Functions

virtual ~TGo4Access ()
 
virtual Int_t AssignObjectTo (TGo4ObjectManager *rcv, const char *path)
 Have to assign object to provided receiver.
 
Int_t AssignObjectToSlot (TGo4Slot *slot)
 Made for convenience - extracts OM and slot path and calls AssignObjectTo method.
 
virtual Bool_t CanGetObject () const
 Returns kTRUE, when object can be directly obtained with GetObject() method.
 
virtual Bool_t GetObject (TObject *&obj, Bool_t &owner) const
 
virtual TClass * GetObjectClass () const
 
virtual const char * GetObjectClassName () const
 
virtual const char * GetObjectName () const
 
virtual Bool_t IsRemote () const
 Indicate if object is remote.
 

Protected Member Functions

void DoObjectAssignement (TGo4ObjectManager *rcv, const char *path, TObject *obj, Bool_t owner)
 

Detailed Description

Definition at line 31 of file TGo4Proxy.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kndNone 
kndObject 
kndFolder 
kndTreeBranch 
kndTreeLeaf 
kndGo4Param 
kndDataMember 
kndEventElement 
kndMoreFolder 
kndRootCommand 

Definition at line 33 of file TGo4Proxy.h.

Constructor & Destructor Documentation

◆ ~TGo4Access()

virtual TGo4Access::~TGo4Access ( )
inlinevirtual

Definition at line 46 of file TGo4Proxy.h.

Member Function Documentation

◆ AssignObjectTo()

Int_t TGo4Access::AssignObjectTo ( TGo4ObjectManager * rcv,
const char * path )
virtual

Have to assign object to provided receiver.

Returns: 0 - if object can not be assigned 1 - if object assigned 2 - if object will be assigned later

Reimplemented in TGo4AnalysisObjectAccess, TGo4DabcAccess, and TGo4HttpAccess.

Definition at line 44 of file TGo4Proxy.cxx.

References DoObjectAssignement(), GetObject(), and IsRemote().

Referenced by AssignObjectToSlot().

◆ AssignObjectToSlot()

Int_t TGo4Access::AssignObjectToSlot ( TGo4Slot * slot)

Made for convenience - extracts OM and slot path and calls AssignObjectTo method.

Definition at line 54 of file TGo4Proxy.cxx.

References AssignObjectTo(), TGo4Slot::GetOM(), and TGo4Slot::ProduceFullName().

Referenced by TGo4DabcAccess::ProcessCommandReply(), TGo4AnalysisProxy::RequestEventStatus(), TGo4AnalysisProxy::RequestObjectStatus(), and TGo4HttpProxy::SubmitRequest().

◆ CanGetObject()

virtual Bool_t TGo4Access::CanGetObject ( ) const
inlinevirtual

Returns kTRUE, when object can be directly obtained with GetObject() method.

Reimplemented in TGo4AnalysisObjectAccess, TGo4DabcAccess, TGo4HServObjectAccess, TGo4HttpAccess, TGo4KeyAccess, and TGo4ObjectAccess.

Definition at line 52 of file TGo4Proxy.h.

◆ DoObjectAssignement()

void TGo4Access::DoObjectAssignement ( TGo4ObjectManager * rcv,
const char * path,
TObject * obj,
Bool_t owner )
protected

◆ GetObject()

Bool_t TGo4Access::GetObject ( TObject *& obj,
Bool_t & owner ) const
virtual

Reimplemented in TGo4DabcAccess, TGo4HServObjectAccess, TGo4HttpAccess, TGo4KeyAccess, and TGo4ObjectAccess.

Definition at line 21 of file TGo4Proxy.cxx.

Referenced by AssignObjectTo().

◆ GetObjectClass()

TClass * TGo4Access::GetObjectClass ( ) const
virtual

Reimplemented in TGo4DabcAccess, TGo4HttpAccess, and TGo4ObjectAccess.

Definition at line 34 of file TGo4Proxy.cxx.

References TGo4Proxy::GetClass(), and GetObjectClassName().

◆ GetObjectClassName()

const char * TGo4Access::GetObjectClassName ( ) const
virtual

◆ GetObjectName()

const char * TGo4Access::GetObjectName ( ) const
virtual

◆ IsRemote()

virtual Bool_t TGo4Access::IsRemote ( ) const
inlinevirtual

Indicate if object is remote.

Reimplemented in TGo4AnalysisObjectAccess, TGo4DabcAccess, and TGo4HttpAccess.

Definition at line 49 of file TGo4Proxy.h.

Referenced by AssignObjectTo().


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