GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
TGo4ServerProxy Class Reference

#include <TGo4ServerProxy.h>

+ Inheritance diagram for TGo4ServerProxy:

Public Member Functions

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

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=0)
 
- Static Public Member Functions inherited from TGo4Proxy
static TClass * GetClass (const char *classname, Bool_t load=kFALSE)
 

Protected Attributes

TGo4SlotfxParentSlot
 
Bool_t fbAnalysisReady
 
Bool_t fbAnalysisSettingsReady
 
Int_t fAnalysisLaunched
 
TString fNodeName
 0 - not launched, 1 - external shell, 2 - in qt shell More...
 
TString fInfoStr
 

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

Definition at line 376 of file TGo4ServerProxy.cxx.

TGo4ServerProxy::~TGo4ServerProxy ( )
virtual

Definition at line 387 of file TGo4ServerProxy.cxx.

Member Function Documentation

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

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 101 of file TGo4ServerProxy.h.

Referenced by TGo4Browser::ContextMenuActivated().

TGo4ServerProxy::ClassDef ( TGo4ServerProxy  ,
 
)
virtual void TGo4ServerProxy::ClearAllAnalysisObjects ( )
inlinevirtual

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 85 of file TGo4ServerProxy.h.

Referenced by TGo4BrowserOptions::ClearBtn_clicked().

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

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 75 of file TGo4ServerProxy.h.

Referenced by TGo4MainWindow::editorServiceSlot().

TGo4Slot * TGo4ServerProxy::DebugOutputSlot ( )
virtual Bool_t TGo4ServerProxy::DelayedRefreshNamesList ( Int_t  delay_sec)
inlinevirtual
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 TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 124 of file TGo4ServerProxy.h.

Referenced by TGo4MainWindow::RemoveAnalysisProxy().

virtual void TGo4ServerProxy::ExecuteLine ( const char *  line)
inlinevirtual
virtual TString TGo4ServerProxy::FindCommand ( const char *  name)
inlinevirtual
const char * TGo4ServerProxy::GetContainedObjectInfo ( )
virtual
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 = 0 
)
static
virtual const char* TGo4ServerProxy::GetServerName ( ) const
inlinevirtual
virtual const char* TGo4ServerProxy::GetUserName ( ) const
inlinevirtual

Reimplemented in TGo4HttpProxy.

Definition at line 44 of file TGo4ServerProxy.h.

virtual void TGo4ServerProxy::Initialize ( TGo4Slot slot)
inlinevirtual

Reimplemented from TGo4Proxy.

Reimplemented in TGo4HttpProxy, TGo4AnalysisProxy, TGo4HServProxy, and TGo4DabcProxy.

Definition at line 35 of file TGo4ServerProxy.h.

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

virtual Bool_t TGo4ServerProxy::IsAdministrator ( )
inlinevirtual
Int_t TGo4ServerProxy::IsAnalysisLaunched ( ) const
inline
Bool_t TGo4ServerProxy::IsAnalysisReady ( ) const
inline
virtual Bool_t TGo4ServerProxy::IsAnalysisRunning ( ) const
inlinevirtual

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 77 of file TGo4ServerProxy.h.

Referenced by TGo4Script::ProduceScript().

virtual Bool_t TGo4ServerProxy::IsAnalysisServer ( ) const
inlinevirtual

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 52 of file TGo4ServerProxy.h.

Referenced by TGo4MainWindow::UpdateCaptionButtons().

Bool_t TGo4ServerProxy::IsAnalysisSettingsReady ( ) const
inline
virtual Bool_t TGo4ServerProxy::IsConnected ( )
inlinevirtual
virtual Bool_t TGo4ServerProxy::IsController ( )
inlinevirtual
virtual Bool_t TGo4ServerProxy::IsGo4Analysis ( ) const
inlinevirtual
virtual Bool_t TGo4ServerProxy::IsViewer ( )
inlinevirtual

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 55 of file TGo4ServerProxy.h.

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

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

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 109 of file TGo4ServerProxy.h.

Referenced by TGo4AnalysisConfiguration::LoadConfiguration().

TGo4Slot * TGo4ServerProxy::LoginfoSlot ( )
virtual Bool_t TGo4ServerProxy::NamesListReceived ( )
inlinevirtual
virtual Int_t TGo4ServerProxy::NumberOfWaitingProxyes ( )
inlinevirtual

Reimplemented in TGo4AnalysisProxy.

Definition at line 116 of file TGo4ServerProxy.h.

Referenced by TGo4BrowserProxy::HandleTimer().

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

Reimplemented in TGo4HttpProxy.

Definition at line 48 of file TGo4ServerProxy.h.

Referenced by TGo4Browser::ExecuteItem().

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

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 107 of file TGo4ServerProxy.h.

Referenced by TGo4EditDynEntry::PrintDynList().

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

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 95 of file TGo4ServerProxy.h.

Referenced by TGo4EventInfo::PrintEventClicked().

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

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 88 of file TGo4ServerProxy.h.

Referenced by TGo4BrowserProxy::PerformTreeDraw().

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

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 103 of file TGo4ServerProxy.h.

Referenced by TGo4Browser::ContextMenuActivated().

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

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 93 of file TGo4ServerProxy.h.

Referenced by TGo4EventInfo::RefreshClicked().

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

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 81 of file TGo4ServerProxy.h.

Referenced by TGo4BrowserProxy::RequestObjectStatus().

virtual void TGo4ServerProxy::ResetDebugOutputRequests ( )
inlinevirtual

Reimplemented in TGo4HttpProxy.

Definition at line 118 of file TGo4ServerProxy.h.

Referenced by TGo4MainWindow::EstablishAnalysisWindowForHttp().

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

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 110 of file TGo4ServerProxy.h.

Referenced by TGo4AnalysisConfiguration::SaveConfiguration().

void TGo4ServerProxy::SetAnalysisLaunched ( Int_t  on = 1)
inline
void TGo4ServerProxy::SetAnalysisReady ( Bool_t  on = kTRUE)
inline
void TGo4ServerProxy::SetAnalysisSettingsReady ( Bool_t  on = kTRUE)
inline
TGo4Slot * TGo4ServerProxy::SettingsSlot ( )
virtual void TGo4ServerProxy::StartAnalysis ( )
inlinevirtual
virtual void TGo4ServerProxy::StopAnalysis ( )
inlinevirtual
virtual void TGo4ServerProxy::SubmitAnalysisSettings ( )
inlinevirtual
virtual Bool_t TGo4ServerProxy::SubmitCommand ( const char *  name,
Int_t  waitres = -1,
const char *  arg1 = 0,
const char *  arg2 = 0,
const char *  arg3 = 0 
)
inlinevirtual
virtual Bool_t TGo4ServerProxy::UpdateAnalysisObject ( const char *  objectname,
TObject *  obj 
)
inlinevirtual
virtual void TGo4ServerProxy::WriteAutoSave ( const char *  fname,
Int_t  complevel,
Bool_t  overwrite 
)
inlinevirtual

Reimplemented in TGo4HttpProxy, and TGo4AnalysisProxy.

Definition at line 112 of file TGo4ServerProxy.h.

Referenced by TGo4AnalysisConfiguration::WriteAutoSave().

Member Data Documentation

Int_t TGo4ServerProxy::fAnalysisLaunched
protected

Definition at line 27 of file TGo4ServerProxy.h.

Referenced by IsAnalysisLaunched().

Bool_t TGo4ServerProxy::fbAnalysisReady
protected

Definition at line 25 of file TGo4ServerProxy.h.

Referenced by IsAnalysisReady().

Bool_t TGo4ServerProxy::fbAnalysisSettingsReady
protected

Definition at line 26 of file TGo4ServerProxy.h.

Referenced by IsAnalysisSettingsReady().

TString TGo4ServerProxy::fInfoStr
protected
TString TGo4ServerProxy::fNodeName
protected
TGo4Slot* TGo4ServerProxy::fxParentSlot
protected

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