GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Slots | Public Member Functions | Protected Attributes | List of all members
TGo4HttpAccess Class Reference

#include <TGo4HttpProxy.h>

+ Inheritance diagram for TGo4HttpAccess:

Public Slots

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

Public Member Functions

 TGo4HttpAccess (TGo4HttpProxy *proxy, XMLNodePointer_t node, Int_t kind=1, const char *extra_arg=nullptr)
 
virtual ~TGo4HttpAccess ()
 
Bool_t IsRemote () const override
 
Bool_t CanGetObject () const override
 
Bool_t GetObject (TObject *&obj, Bool_t &owner) const override
 
TClass * GetObjectClass () const override
 
const char * GetObjectName () const override
 
const char * GetObjectClassName () const override
 
Int_t AssignObjectTo (TGo4ObjectManager *rcv, const char *path) override
 
- Public Member Functions inherited from TGo4Access
virtual ~TGo4Access ()
 
Int_t AssignObjectToSlot (TGo4Slot *slot)
 

Protected Attributes

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

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
}
 
- Protected Member Functions inherited from TGo4Access
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()

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

◆ ~TGo4HttpAccess()

virtual TGo4HttpAccess::~TGo4HttpAccess ( )
inlinevirtual

Definition at line 92 of file TGo4HttpProxy.h.

Member Function Documentation

◆ AssignObjectTo()

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 TGo4HttpProxy::fComm, fExtraArg, fKind, TGo4ServerProxy::fNodeName, fProxy, fReceiver, fRecvPath, fReply, fUrlPath, GetObjectClass(), GetObjectClassName(), httpError(), httpFinished(), and QHttpProxy::qnam.

◆ CanGetObject()

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

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

Reimplemented from TGo4Access.

Definition at line 98 of file TGo4HttpProxy.h.

◆ GetObjectClass()

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

◆ GetObjectClassName()

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

◆ GetObjectName()

const char * TGo4HttpAccess::GetObjectName ( ) const
overridevirtual

Reimplemented from TGo4Access.

Definition at line 179 of file TGo4HttpProxy.cpp.

References fNameAttr.

◆ httpError

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

Definition at line 251 of file TGo4HttpProxy.cpp.

Referenced by AssignObjectTo().

◆ httpFinished

void TGo4HttpAccess::httpFinished ( )
slot

◆ IsRemote()

Bool_t TGo4HttpAccess::IsRemote ( ) const
inlineoverridevirtual

Indicate if object is remote

Reimplemented from TGo4Access.

Definition at line 94 of file TGo4HttpProxy.h.

Member Data Documentation

◆ fExtraArg

TString TGo4HttpAccess::fExtraArg
protected

Definition at line 79 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), and TGo4HttpAccess().

◆ fKind

Int_t TGo4HttpAccess::fKind {0}
protected

Definition at line 76 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), GetObjectClass(), GetObjectClassName(), and httpFinished().

◆ fKindAttr

TString TGo4HttpAccess::fKindAttr
protected

Definition at line 78 of file TGo4HttpProxy.h.

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

◆ fNameAttr

TString TGo4HttpAccess::fNameAttr
protected

Definition at line 77 of file TGo4HttpProxy.h.

Referenced by GetObjectName(), and TGo4HttpAccess().

◆ fNode

XMLNodePointer_t TGo4HttpAccess::fNode {nullptr}
protected

Definition at line 66 of file TGo4HttpProxy.h.

Referenced by httpFinished(), and TGo4HttpAccess().

◆ fProxy

TGo4HttpProxy* TGo4HttpAccess::fProxy {nullptr}
protected

Definition at line 65 of file TGo4HttpProxy.h.

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

◆ fReceiver

TGo4ObjectManager* TGo4HttpAccess::fReceiver {nullptr}
protected

Definition at line 80 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), and httpFinished().

◆ fRecvPath

TString TGo4HttpAccess::fRecvPath
protected

Definition at line 81 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), and httpFinished().

◆ fReply

QNetworkReply* TGo4HttpAccess::fReply {nullptr}
protected

Definition at line 82 of file TGo4HttpProxy.h.

Referenced by AssignObjectTo(), and httpFinished().

◆ fUrlPath

TString TGo4HttpAccess::fUrlPath
protected

Definition at line 67 of file TGo4HttpProxy.h.

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


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