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

special base class for remote data servers like DABC, HTTP, hist server More...

#include <TGo4ServerProxy.h>

+ Inheritance diagram for TGo4ServerProxy:

Public Member Functions

 TGo4ServerProxy ()
 contained object info
 
virtual ~TGo4ServerProxy ()
 
virtual Bool_t CanSubmitObjects () const
 
virtual void ChageObjectProtection (const char *fullpath, const char *flags)
 
 ClassDefOverride (TGo4ServerProxy, 0)
 
virtual void ClearAllAnalysisObjects ()
 
virtual void ClearAnalysisObject (const char *fullpath)
 
virtual void CloseAnalysisSettings ()
 
TGo4SlotDebugOutputSlot ()
 
virtual Bool_t DelayedRefreshNamesList (Int_t delay_sec)
 
virtual void DisconnectAnalysis (Int_t waittime=30, Bool_t servershutdown=kFALSE)
 Close connection to analysis and destroys proxy with correspondent slot.
 
virtual void ExecuteLine (const char *line)
 
virtual TString FindCommand (const char *name)
 
const char * GetContainedObjectInfo () override
 
virtual const char * GetServerName () const
 
virtual const char * GetUserName () const
 
void Initialize (TGo4Slot *slot) override
 
virtual Bool_t IsAdministrator () const
 
Int_t IsAnalysisLaunched () const
 
Bool_t IsAnalysisReady () const
 
virtual Bool_t IsAnalysisRunning () const
 
virtual Bool_t IsAnalysisServer () const
 
Bool_t IsAnalysisSettingsReady () const
 
virtual Bool_t IsConnected () const
 
virtual Bool_t IsController () const
 
virtual Bool_t IsGo4Analysis () const
 
virtual Bool_t IsViewer () const
 
virtual void LoadConfigFile (const char *fname)
 
TGo4SlotLoginfoSlot ()
 
virtual Bool_t NamesListReceived () const
 
virtual Int_t NumberOfWaitingProxyes ()
 
virtual Int_t NumCommandArgs (const char *name)
 
TGo4SlotParentSlot ()
 
virtual void PrintDynListEntry (const char *fullpath)
 
TGo4SlotRatemeterSlot ()
 
virtual Bool_t RefreshNamesList ()
 
virtual void RemotePrintEvent (const char *evname, Int_t evnumber, Int_t subid, Bool_t ishex, Bool_t islong)
 
virtual void RemoteTreeDraw (const char *treename, const char *varexp, const char *cutcond, const char *hname)
 
virtual void RemoveObjectFromAnalysis (const char *fullpath)
 
virtual void RequestAnalysisSettings ()
 
virtual void RequestEventStatus (const char *evname, Bool_t astree, TGo4Slot *tgtslot)
 
virtual Bool_t RequestObjectStatus (const char *objectname, TGo4Slot *tgtslot)
 
virtual void ResetDebugOutputRequests ()
 
virtual void SaveConfigFile (const char *fname)
 
void SetAnalysisLaunched (Int_t on=1)
 
void SetAnalysisReady (Bool_t on=kTRUE)
 
void SetAnalysisSettingsReady (Bool_t on=kTRUE)
 
TGo4SlotSettingsSlot ()
 
virtual void StartAnalysis ()
 
virtual void StopAnalysis ()
 
virtual void SubmitAnalysisSettings ()
 
virtual Bool_t SubmitCommand (const char *name, Int_t waitres=-1, const char *arg1=nullptr, const char *arg2=nullptr, const char *arg3=nullptr)
 
virtual Bool_t UpdateAnalysisObject (const char *objectname, TObject *obj)
 
virtual void WriteAutoSave (const char *fname, Int_t complevel, Bool_t overwrite)
 
- Public Member Functions inherited from TGo4Proxy
 TGo4Proxy ()
 
virtual ~TGo4Proxy ()
 
virtual Bool_t AssignObject (TGo4Slot *, TObject *, Bool_t)
 
 ClassDefOverride (TGo4Proxy, 0)
 
virtual void Finalize (TGo4Slot *)
 
virtual TObject * GetAssignedObject ()
 
virtual const char * GetContainedClassName () const
 
virtual Int_t GetObjectKind () const
 
virtual Int_t GetObjectSizeInfo () const
 
virtual Bool_t HasSublevels () const
 
virtual Bool_t IsAcceptObject (TClass *) const
 
virtual TGo4LevelIterMakeIter ()
 
virtual Bool_t ProcessEvent (TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param)
 
virtual std::unique_ptr< TGo4AccessProvideAccess (const char *)
 
virtual void ReadData (TGo4Slot *, TDirectory *)
 
virtual Bool_t RemoveRegisteredObject (TObject *)
 
virtual void Update (TGo4Slot *, Bool_t)
 
virtual Bool_t Use () const
 
virtual void WriteData (TGo4Slot *, TDirectory *, Bool_t)
 

Static Public Member Functions

static Bool_t GetLaunchString (TString &launchcmd, TString &killcmd, Int_t serverkind, Int_t shellkind, Int_t konsole, const char *name, const char *remotehost, const char *remotedir, const char *remoteexe, Int_t guiport, Int_t exe_kind=0, const char *exeargs=nullptr)
 
- Static Public Member Functions inherited from TGo4Proxy
static TClass * GetClass (const char *classname, Bool_t load=kFALSE)
 

Protected Attributes

Int_t fAnalysisLaunched {0}
 true when settings are specified
 
Bool_t fbAnalysisReady {kFALSE}
 
Bool_t fbAnalysisSettingsReady {kFALSE}
 true if analysis is connected and get first info
 
TString fInfoStr
 name of remote node
 
TString fNodeName
 0 - not launched, 1 - external shell, 2 - in qt shell
 
TGo4SlotfxParentSlot {nullptr}
 

Detailed Description

special base class for remote data servers like DABC, HTTP, hist server

Definition at line 22 of file TGo4ServerProxy.h.

Constructor & Destructor Documentation

◆ TGo4ServerProxy()

◆ ~TGo4ServerProxy()

TGo4ServerProxy::~TGo4ServerProxy ( )
virtual

Definition at line 390 of file TGo4ServerProxy.cxx.

Member Function Documentation

◆ CanSubmitObjects()

virtual Bool_t TGo4ServerProxy::CanSubmitObjects ( ) const
inlinevirtual

◆ ChageObjectProtection()

virtual void TGo4ServerProxy::ChageObjectProtection ( const char * fullpath,
const char * flags )
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 101 of file TGo4ServerProxy.h.

Referenced by TGo4Browser::ContextMenuActivated().

◆ ClassDefOverride()

TGo4ServerProxy::ClassDefOverride ( TGo4ServerProxy ,
0  )

References TGo4ServerProxy().

◆ ClearAllAnalysisObjects()

virtual void TGo4ServerProxy::ClearAllAnalysisObjects ( )
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 85 of file TGo4ServerProxy.h.

Referenced by TGo4BrowserOptions::ClearBtn_clicked().

◆ ClearAnalysisObject()

virtual void TGo4ServerProxy::ClearAnalysisObject ( const char * fullpath)
inlinevirtual

◆ CloseAnalysisSettings()

virtual void TGo4ServerProxy::CloseAnalysisSettings ( )
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 75 of file TGo4ServerProxy.h.

◆ DebugOutputSlot()

TGo4Slot * TGo4ServerProxy::DebugOutputSlot ( )

◆ DelayedRefreshNamesList()

virtual Bool_t TGo4ServerProxy::DelayedRefreshNamesList ( Int_t delay_sec)
inlinevirtual

◆ DisconnectAnalysis()

virtual void TGo4ServerProxy::DisconnectAnalysis ( Int_t waittime = 30,
Bool_t servershutdown = kFALSE )
inlinevirtual

Close connection to analysis and destroys proxy with correspondent slot.

Wait waittime (in sec) for safe disconnection of the analysis. if servershutdown = kTRUE, shutdown command will be sent to analysis

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 124 of file TGo4ServerProxy.h.

Referenced by TGo4MainWindow::RemoveAnalysisProxy().

◆ ExecuteLine()

virtual void TGo4ServerProxy::ExecuteLine ( const char * line)
inlinevirtual

◆ FindCommand()

virtual TString TGo4ServerProxy::FindCommand ( const char * name)
inlinevirtual

◆ GetContainedObjectInfo()

const char * TGo4ServerProxy::GetContainedObjectInfo ( )
overridevirtual

◆ GetLaunchString()

Bool_t TGo4ServerProxy::GetLaunchString ( TString & launchcmd,
TString & killcmd,
Int_t serverkind,
Int_t shellkind,
Int_t konsole,
const char * name,
const char * remotehost,
const char * remotedir,
const char * remoteexe,
Int_t guiport,
Int_t exe_kind = 0,
const char * exeargs = nullptr )
static

◆ GetServerName()

virtual const char * TGo4ServerProxy::GetServerName ( ) const
inlinevirtual

◆ GetUserName()

virtual const char * TGo4ServerProxy::GetUserName ( ) const
inlinevirtual

Reimplemented in TGo4HttpProxy.

Definition at line 44 of file TGo4ServerProxy.h.

◆ Initialize()

void TGo4ServerProxy::Initialize ( TGo4Slot * slot)
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 35 of file TGo4ServerProxy.h.

References fxParentSlot.

Referenced by TGo4AnalysisProxy::Initialize(), and TGo4HttpProxy::Initialize().

◆ IsAdministrator()

virtual Bool_t TGo4ServerProxy::IsAdministrator ( ) const
inlinevirtual

◆ IsAnalysisLaunched()

Int_t TGo4ServerProxy::IsAnalysisLaunched ( ) const
inline

◆ IsAnalysisReady()

Bool_t TGo4ServerProxy::IsAnalysisReady ( ) const
inline

◆ IsAnalysisRunning()

virtual Bool_t TGo4ServerProxy::IsAnalysisRunning ( ) const
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 77 of file TGo4ServerProxy.h.

Referenced by TGo4Script::ProduceScript().

◆ IsAnalysisServer()

virtual Bool_t TGo4ServerProxy::IsAnalysisServer ( ) const
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 52 of file TGo4ServerProxy.h.

Referenced by TGo4MainWindow::UpdateCaptionButtons().

◆ IsAnalysisSettingsReady()

◆ IsConnected()

virtual Bool_t TGo4ServerProxy::IsConnected ( ) const
inlinevirtual

◆ IsController()

virtual Bool_t TGo4ServerProxy::IsController ( ) const
inlinevirtual

◆ IsGo4Analysis()

virtual Bool_t TGo4ServerProxy::IsGo4Analysis ( ) const
inlinevirtual

◆ IsViewer()

virtual Bool_t TGo4ServerProxy::IsViewer ( ) const
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 55 of file TGo4ServerProxy.h.

Referenced by TGo4MainWindow::ConnectHttpServer(), and GetContainedObjectInfo().

◆ LoadConfigFile()

virtual void TGo4ServerProxy::LoadConfigFile ( const char * fname)
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 109 of file TGo4ServerProxy.h.

◆ LoginfoSlot()

◆ NamesListReceived()

virtual Bool_t TGo4ServerProxy::NamesListReceived ( ) const
inlinevirtual

◆ NumberOfWaitingProxyes()

virtual Int_t TGo4ServerProxy::NumberOfWaitingProxyes ( )
inlinevirtual

Reimplemented in TGo4AnalysisProxy.

Definition at line 116 of file TGo4ServerProxy.h.

Referenced by TGo4BrowserProxy::HandleTimer().

◆ NumCommandArgs()

virtual Int_t TGo4ServerProxy::NumCommandArgs ( const char * name)
inlinevirtual

Reimplemented in TGo4HttpProxy.

Definition at line 48 of file TGo4ServerProxy.h.

Referenced by TGo4Browser::ExecuteItem().

◆ ParentSlot()

TGo4Slot * TGo4ServerProxy::ParentSlot ( )
inline

Definition at line 37 of file TGo4ServerProxy.h.

References fxParentSlot.

Referenced by TGo4AnalysisConfiguration::WorkWithAnalysis().

◆ PrintDynListEntry()

virtual void TGo4ServerProxy::PrintDynListEntry ( const char * fullpath)
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 107 of file TGo4ServerProxy.h.

Referenced by TGo4EditDynEntry::PrintDynList().

◆ RatemeterSlot()

◆ RefreshNamesList()

◆ RemotePrintEvent()

virtual void TGo4ServerProxy::RemotePrintEvent ( const char * evname,
Int_t evnumber,
Int_t subid,
Bool_t ishex,
Bool_t islong )
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 95 of file TGo4ServerProxy.h.

Referenced by TGo4EventInfo::PrintEventClicked().

◆ RemoteTreeDraw()

virtual void TGo4ServerProxy::RemoteTreeDraw ( const char * treename,
const char * varexp,
const char * cutcond,
const char * hname )
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 88 of file TGo4ServerProxy.h.

Referenced by TGo4BrowserProxy::PerformTreeDraw().

◆ RemoveObjectFromAnalysis()

virtual void TGo4ServerProxy::RemoveObjectFromAnalysis ( const char * fullpath)
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 103 of file TGo4ServerProxy.h.

Referenced by TGo4Browser::ContextMenuActivated().

◆ RequestAnalysisSettings()

virtual void TGo4ServerProxy::RequestAnalysisSettings ( )
inlinevirtual

◆ RequestEventStatus()

virtual void TGo4ServerProxy::RequestEventStatus ( const char * evname,
Bool_t astree,
TGo4Slot * tgtslot )
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 93 of file TGo4ServerProxy.h.

Referenced by TGo4EventInfo::RefreshClicked().

◆ RequestObjectStatus()

virtual Bool_t TGo4ServerProxy::RequestObjectStatus ( const char * objectname,
TGo4Slot * tgtslot )
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 81 of file TGo4ServerProxy.h.

Referenced by TGo4BrowserProxy::RequestObjectStatus().

◆ ResetDebugOutputRequests()

virtual void TGo4ServerProxy::ResetDebugOutputRequests ( )
inlinevirtual

Reimplemented in TGo4HttpProxy.

Definition at line 118 of file TGo4ServerProxy.h.

◆ SaveConfigFile()

virtual void TGo4ServerProxy::SaveConfigFile ( const char * fname)
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 110 of file TGo4ServerProxy.h.

◆ SetAnalysisLaunched()

void TGo4ServerProxy::SetAnalysisLaunched ( Int_t on = 1)
inline

◆ SetAnalysisReady()

void TGo4ServerProxy::SetAnalysisReady ( Bool_t on = kTRUE)
inline

◆ SetAnalysisSettingsReady()

◆ SettingsSlot()

◆ StartAnalysis()

virtual void TGo4ServerProxy::StartAnalysis ( )
inlinevirtual

◆ StopAnalysis()

virtual void TGo4ServerProxy::StopAnalysis ( )
inlinevirtual

◆ SubmitAnalysisSettings()

virtual void TGo4ServerProxy::SubmitAnalysisSettings ( )
inlinevirtual

◆ SubmitCommand()

virtual Bool_t TGo4ServerProxy::SubmitCommand ( const char * name,
Int_t waitres = -1,
const char * arg1 = nullptr,
const char * arg2 = nullptr,
const char * arg3 = nullptr )
inlinevirtual

◆ UpdateAnalysisObject()

virtual Bool_t TGo4ServerProxy::UpdateAnalysisObject ( const char * objectname,
TObject * obj )
inlinevirtual

◆ WriteAutoSave()

virtual void TGo4ServerProxy::WriteAutoSave ( const char * fname,
Int_t complevel,
Bool_t overwrite )
inlinevirtual

Reimplemented in TGo4AnalysisProxy, and TGo4HttpProxy.

Definition at line 112 of file TGo4ServerProxy.h.

Field Documentation

◆ fAnalysisLaunched

Int_t TGo4ServerProxy::fAnalysisLaunched {0}
protected

true when settings are specified

Definition at line 27 of file TGo4ServerProxy.h.

Referenced by TGo4ServerProxy(), IsAnalysisLaunched(), and SetAnalysisLaunched().

◆ fbAnalysisReady

Bool_t TGo4ServerProxy::fbAnalysisReady {kFALSE}
protected

Definition at line 25 of file TGo4ServerProxy.h.

Referenced by TGo4ServerProxy(), IsAnalysisReady(), and SetAnalysisReady().

◆ fbAnalysisSettingsReady

Bool_t TGo4ServerProxy::fbAnalysisSettingsReady {kFALSE}
protected

true if analysis is connected and get first info

Definition at line 26 of file TGo4ServerProxy.h.

Referenced by TGo4ServerProxy(), IsAnalysisSettingsReady(), and SetAnalysisSettingsReady().

◆ fInfoStr

TString TGo4ServerProxy::fInfoStr
protected

◆ fNodeName

◆ fxParentSlot


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