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

#include <TGo4HttpProxy.h>

Inheritance diagram for TGo4HttpAccess:

Public Slots

void httpError (QNetworkReply::NetworkError)
void httpError (QNetworkReply::NetworkError)
void httpFinished ()
void httpFinished ()

Public Member Functions

 TGo4HttpAccess (TGo4HttpProxy *proxy, XMLNodePointer_t node, Int_t kind=1, const char *extra_arg=nullptr)
 TGo4HttpAccess (TGo4HttpProxy *proxy, XMLNodePointer_t node, Int_t kind=1, const char *extra_arg=nullptr)
virtual ~TGo4HttpAccess ()
virtual ~TGo4HttpAccess ()
Int_t AssignObjectTo (TGo4ObjectManager *rcv, const char *path) override
 Have to assign object to provided receiver.
Int_t AssignObjectTo (TGo4ObjectManager *rcv, const char *path) override
 Have to assign object to provided receiver.
Bool_t CanGetObject () const override
 Returns kTRUE, when object can be directly obtained with GetObject() method.
Bool_t CanGetObject () const override
 Returns kTRUE, when object can be directly obtained with GetObject() method.
Bool_t GetObject (TObject *&obj, Bool_t &owner) const override
Bool_t GetObject (TObject *&obj, Bool_t &owner) const override
TClass * GetObjectClass () const override
TClass * GetObjectClass () const override
const char * GetObjectClassName () const override
const char * GetObjectClassName () const override
const char * GetObjectName () const override
const char * GetObjectName () const override
Bool_t IsRemote () const override
 Indicate if object is remote.
Bool_t IsRemote () const override
 Indicate if object is remote.
Public Member Functions inherited from TGo4Access
virtual ~TGo4Access ()
virtual ~TGo4Access ()
Int_t AssignObjectToSlot (TGo4Slot *slot)
 Made for convenience - extracts OM and slot path and calls AssignObjectTo method.
Int_t AssignObjectToSlot (TGo4Slot *slot)
 Made for convenience - extracts OM and slot path and calls AssignObjectTo method.

Protected Attributes

TString fExtraArg
Int_t fKind {0}
TString fKindAttr
TString fNameAttr
XMLNodePointer_t fNode {nullptr}
TGo4HttpProxyfProxy {nullptr}
TGo4ObjectManagerfReceiver {nullptr}
TString fRecvPath
QNetworkReply * fReply {nullptr}
TString fUrlPath

Additional Inherited Members

Public Types inherited from TGo4Access
enum  {
  kndNone = -1 , kndObject = 0 , kndFolder = 1 , kndTreeBranch = 2 ,
  kndTreeLeaf = 3 , kndGo4Param = 4 , kndDataMember = 5 , kndEventElement = 6 ,
  kndMoreFolder = 7 , kndRootCommand = 8
}
enum  {
  kndNone = -1 , kndObject = 0 , kndFolder = 1 , kndTreeBranch = 2 ,
  kndTreeLeaf = 3 , kndGo4Param = 4 , kndDataMember = 5 , kndEventElement = 6 ,
  kndMoreFolder = 7 , kndRootCommand = 8
}
Protected Member Functions inherited from TGo4Access
void DoObjectAssignement (TGo4ObjectManager *rcv, const char *path, TObject *obj, Bool_t owner)
void DoObjectAssignement (TGo4ObjectManager *rcv, const char *path, TObject *obj, Bool_t owner)

Detailed Description

Definition at line 60 of file TGo4HttpProxy.h.

Constructor & Destructor Documentation

◆ TGo4HttpAccess() [1/2]

TGo4HttpAccess::TGo4HttpAccess ( TGo4HttpProxy * proxy,
XMLNodePointer_t node,
Int_t kind = 1,
const char * extra_arg = nullptr )

Definition at line 144 of file TGo4HttpProxy.cpp.

References fExtraArg, fKind, fKindAttr, fNameAttr, fNode, fProxy, fReceiver, fRecvPath, fReply, and fUrlPath.

◆ ~TGo4HttpAccess() [1/2]

virtual TGo4HttpAccess::~TGo4HttpAccess ( )
inlinevirtual

Definition at line 92 of file TGo4HttpProxy.h.

◆ TGo4HttpAccess() [2/2]

TGo4HttpAccess::TGo4HttpAccess ( TGo4HttpProxy * proxy,
XMLNodePointer_t node,
Int_t kind = 1,
const char * extra_arg = nullptr )

◆ ~TGo4HttpAccess() [2/2]

virtual TGo4HttpAccess::~TGo4HttpAccess ( )
inlinevirtual

Definition at line 92 of file TGo4HttpProxy.h.

Member Function Documentation

◆ AssignObjectTo() [1/2]

Int_t TGo4HttpAccess::AssignObjectTo ( TGo4ObjectManager * rcv,
const char * path )
overridevirtual

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 from TGo4Access.

Definition at line 197 of file TGo4HttpProxy.cpp.

References fExtraArg, fKind, fProxy, fReceiver, fRecvPath, fReply, fUrlPath, GetObjectClass(), GetObjectClassName(), httpError(), and httpFinished().

◆ AssignObjectTo() [2/2]

Int_t TGo4HttpAccess::AssignObjectTo ( TGo4ObjectManager * rcv,
const char * path )
overridevirtual

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 from TGo4Access.

◆ CanGetObject() [1/2]

Bool_t TGo4HttpAccess::CanGetObject ( ) const
inlineoverridevirtual

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

Reimplemented from TGo4Access.

Definition at line 96 of file TGo4HttpProxy.h.

◆ CanGetObject() [2/2]

Bool_t TGo4HttpAccess::CanGetObject ( ) const
inlineoverridevirtual

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

Reimplemented from TGo4Access.

Definition at line 96 of file TGo4HttpProxy.h.

◆ GetObject() [1/2]

Bool_t TGo4HttpAccess::GetObject ( TObject *& obj,
Bool_t & owner ) const
inlineoverridevirtual

Reimplemented from TGo4Access.

Definition at line 98 of file TGo4HttpProxy.h.

◆ GetObject() [2/2]

Bool_t TGo4HttpAccess::GetObject ( TObject *& obj,
Bool_t & owner ) const
inlineoverridevirtual

Reimplemented from TGo4Access.

Definition at line 98 of file TGo4HttpProxy.h.

◆ GetObjectClass() [1/2]

TClass * TGo4HttpAccess::GetObjectClass ( ) const
overridevirtual

Reimplemented from TGo4Access.

Definition at line 168 of file TGo4HttpProxy.cpp.

References fKind, fKindAttr, TGo4Proxy::GetClass(), and GetHttpRootClassName().

Referenced by AssignObjectTo(), and httpFinished().

◆ GetObjectClass() [2/2]

TClass * TGo4HttpAccess::GetObjectClass ( ) const
overridevirtual

Reimplemented from TGo4Access.

◆ GetObjectClassName() [1/2]

const char * TGo4HttpAccess::GetObjectClassName ( ) const
overridevirtual

Reimplemented from TGo4Access.

Definition at line 184 of file TGo4HttpProxy.cpp.

References fKind, fKindAttr, and GetHttpRootClassName().

Referenced by AssignObjectTo(), and httpFinished().

◆ GetObjectClassName() [2/2]

const char * TGo4HttpAccess::GetObjectClassName ( ) const
overridevirtual

Reimplemented from TGo4Access.

◆ GetObjectName() [1/2]

const char * TGo4HttpAccess::GetObjectName ( ) const
overridevirtual

Reimplemented from TGo4Access.

Definition at line 179 of file TGo4HttpProxy.cpp.

References fNameAttr.

◆ GetObjectName() [2/2]

const char * TGo4HttpAccess::GetObjectName ( ) const
overridevirtual

Reimplemented from TGo4Access.

◆ httpError [1/2]

void TGo4HttpAccess::httpError ( QNetworkReply::NetworkError )
slot

Definition at line 251 of file TGo4HttpProxy.cpp.

Referenced by AssignObjectTo().

◆ httpError [2/2]

void TGo4HttpAccess::httpError ( QNetworkReply::NetworkError )
slot

◆ httpFinished [1/2]

void TGo4HttpAccess::httpFinished ( )
slot

◆ httpFinished [2/2]

void TGo4HttpAccess::httpFinished ( )
slot

◆ IsRemote() [1/2]

Bool_t TGo4HttpAccess::IsRemote ( ) const
inlineoverridevirtual

Indicate if object is remote.

Reimplemented from TGo4Access.

Definition at line 94 of file TGo4HttpProxy.h.

◆ IsRemote() [2/2]

Bool_t TGo4HttpAccess::IsRemote ( ) const
inlineoverridevirtual

Indicate if object is remote.

Reimplemented from TGo4Access.

Definition at line 94 of file TGo4HttpProxy.h.

Field Documentation

◆ fExtraArg

TString TGo4HttpAccess::fExtraArg
protected

Definition at line 79 of file TGo4HttpProxy.h.

Referenced by TGo4HttpAccess(), and AssignObjectTo().

◆ fKind

Int_t TGo4HttpAccess::fKind {0}
protected

◆ fKindAttr

TString TGo4HttpAccess::fKindAttr
protected

Definition at line 78 of file TGo4HttpProxy.h.

Referenced by TGo4HttpAccess(), GetObjectClass(), and GetObjectClassName().

◆ fNameAttr

TString TGo4HttpAccess::fNameAttr
protected

Definition at line 77 of file TGo4HttpProxy.h.

Referenced by TGo4HttpAccess(), and GetObjectName().

◆ fNode

XMLNodePointer_t TGo4HttpAccess::fNode {nullptr}
protected

Definition at line 66 of file TGo4HttpProxy.h.

Referenced by TGo4HttpAccess(), and httpFinished().

◆ fProxy

TGo4HttpProxy * TGo4HttpAccess::fProxy {nullptr}
protected

Definition at line 65 of file TGo4HttpProxy.h.

Referenced by TGo4HttpAccess(), AssignObjectTo(), and httpFinished().

◆ fReceiver

TGo4ObjectManager * TGo4HttpAccess::fReceiver {nullptr}
protected

Definition at line 80 of file TGo4HttpProxy.h.

Referenced by TGo4HttpAccess(), AssignObjectTo(), and httpFinished().

◆ fRecvPath

TString TGo4HttpAccess::fRecvPath
protected

Definition at line 81 of file TGo4HttpProxy.h.

Referenced by TGo4HttpAccess(), AssignObjectTo(), and httpFinished().

◆ fReply

QNetworkReply * TGo4HttpAccess::fReply {nullptr}
protected

Definition at line 82 of file TGo4HttpProxy.h.

Referenced by TGo4HttpAccess(), AssignObjectTo(), and httpFinished().

◆ fUrlPath

TString TGo4HttpAccess::fUrlPath
protected

Definition at line 67 of file TGo4HttpProxy.h.

Referenced by TGo4HttpAccess(), AssignObjectTo(), and httpFinished().


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