GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Protected Member Functions | List of all members
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 Bool_t IsRemote () const
 
virtual Bool_t CanGetObject () const
 
virtual Bool_t GetObject (TObject *&obj, Bool_t &owner) const
 
virtual TClass * GetObjectClass () const
 
virtual const char * GetObjectName () const
 
virtual const char * GetObjectClassName () const
 
virtual Int_t AssignObjectTo (TGo4ObjectManager *rcv, const char *path)
 
Int_t AssignObjectToSlot (TGo4Slot *slot)
 

Protected Member Functions

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

Detailed Description

Definition at line 25 of file TGo4Proxy.h.

Member Enumeration Documentation

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

Definition at line 27 of file TGo4Proxy.h.

Constructor & Destructor Documentation

virtual TGo4Access::~TGo4Access ( )
inlinevirtual

Definition at line 40 of file TGo4Proxy.h.

Member Function Documentation

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 TGo4DabcAccess, TGo4HttpAccess, and TGo4AnalysisObjectAccess.

Definition at line 46 of file TGo4Proxy.cxx.

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

Referenced by AssignObjectToSlot(), and TGo4ObjectManager::RequestObject().

Int_t TGo4Access::AssignObjectToSlot ( TGo4Slot slot)

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

Definition at line 56 of file TGo4Proxy.cxx.

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

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

virtual Bool_t TGo4Access::CanGetObject ( ) const
inlinevirtual

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

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

Definition at line 46 of file TGo4Proxy.h.

void TGo4Access::DoObjectAssignement ( TGo4ObjectManager rcv,
const char *  path,
TObject *  obj,
Bool_t  owner 
)
protected
Bool_t TGo4Access::GetObject ( TObject *&  obj,
Bool_t &  owner 
) const
virtual
TClass * TGo4Access::GetObjectClass ( ) const
virtual
const char * TGo4Access::GetObjectClassName ( ) const
virtual
const char * TGo4Access::GetObjectName ( ) const
virtual
virtual Bool_t TGo4Access::IsRemote ( ) const
inlinevirtual

Indicate if object is remote

Reimplemented in TGo4DabcAccess, TGo4HttpAccess, and TGo4AnalysisObjectAccess.

Definition at line 43 of file TGo4Proxy.h.

Referenced by AssignObjectTo().


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