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

#include <TGo4AnalysisWebStatus.h>

+ Inheritance diagram for TGo4AnalysisWebStatus:

Public Member Functions

 TGo4AnalysisWebStatus ()
 
 TGo4AnalysisWebStatus (const char *name)
 
virtual ~TGo4AnalysisWebStatus ()
 
Bool_t UpdateFromUrl (const char *rest_url_opt)
 
TGo4AnalysisStatusCreateStatus ()
 
Bool_t ApplyStatus (TGo4AnalysisStatus *status)
 
Bool_t LoadStatus (const char *fname)
 
Bool_t SaveStatus (const char *fname)
 
Bool_t WriteAutoSave (const char *fname, Bool_t overwrite, Int_t complevel)
 
Bool_t ExecuteLine (const char *cmd)
 
- Public Member Functions inherited from TGo4AnalysisStatus
 TGo4AnalysisStatus ()
 
 TGo4AnalysisStatus (const char *name)
 
virtual ~TGo4AnalysisStatus ()
 
void SetStepChecking (Int_t on)
 
Int_t IsStepChecking () const
 
void SetFirstStepIndex (Int_t i)
 
Int_t GetFirstStepIndex () const
 
void SetLastStepIndex (Int_t i)
 
Int_t GetLastStepIndex () const
 
void SetAutoSaveInterval (Int_t i)
 
Int_t GetAutoSaveInterval () const
 
void SetAutoSaveCompression (Int_t i=5)
 
Int_t GetAutoSaveCompression () const
 
void SetAutoSaveOverwrite (Bool_t over=kTRUE)
 
Int_t IsAutoSaveOverwrite () const
 
void SetAutoFileName (const char *name)
 
const char * GetAutoFileName () const
 
void SetConfigFileName (const char *name)
 
const char * GetConfigFileName () const
 
void SetAutoSaveOn (Bool_t on=kTRUE)
 
Int_t IsAutoSaveOn () const
 
TGo4AnalysisStepStatusGetStepStatus (const char *name)
 
Bool_t AddStepStatus (TGo4AnalysisStepStatus *next)
 
void ClearStepStatus ()
 
void ResetStepIterator ()
 
TGo4AnalysisStepStatusNextStepStatus ()
 
Int_t GetNumberOfSteps ()
 
TGo4AnalysisStepStatusGetStepStatus (Int_t indx)
 
virtual Int_t PrintStatus (Text_t *buffer=0, Int_t buflen=0)
 
- Public Member Functions inherited from TGo4Status
 TGo4Status ()
 
 TGo4Status (const char *name)
 
 TGo4Status (const char *name, const char *title)
 
virtual ~TGo4Status ()
 
virtual void Print (Option_t *dummy="") const
 

Static Public Attributes

static TString fgxURL_STARTRUN = "start"
 
static TString fgxURL_ENABLESTEP = "stepenabled"
 
static TString fgxURL_ENABLESOURCE = "sourceenabled"
 
static TString fgxURL_ENABLESTORE = "storeenabled"
 
static TString fgxURL_SOURCE_TYPE = "sourcesel"
 
static TString fgxURL_SOURCE_NAME = "sourcename"
 
static TString fgxURL_SOURCE_PORT = "sourceport"
 
static TString fgxURL_SOURCE_TIMEOUT = "sourcetmout"
 
static TString fgxURL_SOURCE_RETRY = "sourceretry"
 
static TString fgxURL_SOURCE_FIRST = "sourcefirst"
 
static TString fgxURL_SOURCE_LAST = "sourcelast"
 
static TString fgxURL_SOURCE_SKIP = "sourceskip"
 
static TString fgxURL_STORE_TYPE = "storesel"
 
static TString fgxURL_STORE_NAME = "storename"
 
static TString fgxURL_STORE_SPLIT = "storesplit"
 
static TString fgxURL_STORE_BUF = "storebuf"
 
static TString fgxURL_STORE_COMP = "storecomp"
 
static TString fgxURL_STORE_ASF = "storeasf"
 
static TString fgxURL_STORE_OVERWRITE = "storeover"
 
static TString fgxURL_ASF_SAVE = "saveasf"
 
static TString fgxURL_ASF_ENABLED = "asfenabled"
 
static TString fgxURL_ASF_NAME = "asfname"
 
static TString fgxURL_ASF_INTERVAL = "asftime"
 
static TString fgxURL_ASF_COMP = "asfcomp"
 
static TString fgxURL_ASF_OVERWRITE = "asfoverwrite"
 
static TString fgxURL_PREFS_NAME = "anaprefsname"
 
static TString fgxURL_PREFS_LOAD = "loadprefs"
 
static TString fgxURL_PREFS_SAVE = "saveprefs"
 
static TString fgxURL_CLOSE = "close"
 

Friends

class TGo4Analysis
 

Additional Inherited Members

- Public Types inherited from TGo4Status
enum  { kGo4NoReset = BIT(20), kGo4CanDelete = BIT(21), kGo4BackStoreReset = BIT(22) }
 
- Static Public Member Functions inherited from TGo4Status
static Text_t * PrintIndent (Text_t *buffer, Int_t &buflen)
 
static Text_t * PrintBuffer (char *buffer, Int_t &buflen, const char *text,...)
 
- Protected Attributes inherited from TGo4AnalysisStatus
TObjArray * fxStepArray
 
TMutex * fxStepMutex
 
TIterator * fxStepIterator
 
Int_t fbStepCheckingMode
 
Int_t fiFirstStepIndex
 
Int_t fiLastStepIndex
 
Int_t fiAutoSaveInterval
 
Int_t fiAutoSaveCompression
 
Int_t fbAutoSaveOverwrite
 
Int_t fbAutoSaveOn
 
TString fxAutoFileName
 
TString fxConfigFileName
 

Detailed Description

Subclass of TGo4AnalysisStatus that has UpdateFromURL method the only reason for this subclass is to keep Qt4 GUI independent of full analysis lib All direct calls to reconfigure TGo4Analysis itself are put here this is not needed by traditional GUI due to text command interface

Since
3/2015
Authors
JAM

Definition at line 28 of file TGo4AnalysisWebStatus.h.

Constructor & Destructor Documentation

TGo4AnalysisWebStatus::TGo4AnalysisWebStatus ( )
inline

default ctor for streamer.

Definition at line 35 of file TGo4AnalysisWebStatus.h.

TGo4AnalysisWebStatus::TGo4AnalysisWebStatus ( const char *  name)
inline

Definition at line 37 of file TGo4AnalysisWebStatus.h.

virtual TGo4AnalysisWebStatus::~TGo4AnalysisWebStatus ( )
inlinevirtual

Definition at line 39 of file TGo4AnalysisWebStatus.h.

Member Function Documentation

Bool_t TGo4AnalysisWebStatus::ApplyStatus ( TGo4AnalysisStatus status)
TGo4AnalysisStatus * TGo4AnalysisWebStatus::CreateStatus ( )

Methods used by Go4GUI via HTTP to obtain status of analysis

Definition at line 574 of file TGo4AnalysisWebStatus.cxx.

References TGo4Analysis::CreateStatus(), and TGo4Analysis::Instance().

Bool_t TGo4AnalysisWebStatus::ExecuteLine ( const char *  cmd)
Bool_t TGo4AnalysisWebStatus::LoadStatus ( const char *  fname)

Definition at line 611 of file TGo4AnalysisWebStatus.cxx.

References TGo4Analysis::Instance(), and TGo4Analysis::LoadStatus().

Referenced by UpdateFromUrl().

Bool_t TGo4AnalysisWebStatus::SaveStatus ( const char *  fname)

Definition at line 621 of file TGo4AnalysisWebStatus.cxx.

References TGo4Analysis::Instance(), and TGo4Analysis::SaveStatus().

Referenced by UpdateFromUrl().

Bool_t TGo4AnalysisWebStatus::UpdateFromUrl ( const char *  rest_url_opt)

Method used by HTTP server to update some fields, specified in URL syntax

Definition at line 65 of file TGo4AnalysisWebStatus.cxx.

References TGo4Analysis::CloseAnalysis(), TGo4AnalysisStatus::fbAutoSaveOverwrite, fgxURL_ASF_COMP, fgxURL_ASF_ENABLED, fgxURL_ASF_INTERVAL, fgxURL_ASF_NAME, fgxURL_ASF_OVERWRITE, fgxURL_ASF_SAVE, fgxURL_CLOSE, fgxURL_ENABLESOURCE, fgxURL_ENABLESTEP, fgxURL_ENABLESTORE, fgxURL_PREFS_LOAD, fgxURL_PREFS_NAME, fgxURL_PREFS_SAVE, fgxURL_SOURCE_FIRST, fgxURL_SOURCE_LAST, fgxURL_SOURCE_NAME, fgxURL_SOURCE_PORT, fgxURL_SOURCE_RETRY, fgxURL_SOURCE_SKIP, fgxURL_SOURCE_TIMEOUT, fgxURL_SOURCE_TYPE, fgxURL_STARTRUN, fgxURL_STORE_ASF, fgxURL_STORE_BUF, fgxURL_STORE_COMP, fgxURL_STORE_NAME, fgxURL_STORE_OVERWRITE, fgxURL_STORE_SPLIT, fgxURL_STORE_TYPE, TGo4AnalysisStatus::fiAutoSaveCompression, TGo4FileStoreParameter::GetAutosaveSize(), TGo4BackStoreParameter::GetBufsize(), TGo4FileStoreParameter::GetBufsize(), TGo4FileStoreParameter::GetCompression(), TGo4MbsSourceParameter::GetEventInterval(), TGo4UserSourceParameter::GetPort(), TGo4MbsSourceParameter::GetPort(), TGo4AnalysisStepStatus::GetSourcePar(), TGo4BackStoreParameter::GetSplitlevel(), TGo4FileStoreParameter::GetSplitlevel(), TGo4MbsSourceParameter::GetStartEvent(), TGo4MbsSourceParameter::GetStopEvent(), TGo4AnalysisStepStatus::GetStorePar(), TGo4EventSourceParameter::GetTimeout(), GO4EV_BACK, GO4EV_FILE, GO4EV_MBS_EVENTSERVER, GO4EV_MBS_FILE, GO4EV_MBS_RANDOM, GO4EV_MBS_REVSERV, GO4EV_MBS_STREAM, GO4EV_MBS_TRANSPORT, GO4EV_USER, TGo4Analysis::InitEventClasses(), TGo4Analysis::Instance(), TGo4FileStoreParameter::IsOverwriteMode(), LoadStatus(), TGo4Log::Message(), TGo4AnalysisStatus::NextStepStatus(), TGo4AnalysisStepStatus::PrintStatus(), TGo4AnalysisStatus::ResetStepIterator(), SaveStatus(), TGo4AnalysisStatus::SetAutoFileName(), TGo4AnalysisStatus::SetAutoSaveCompression(), TGo4AnalysisStatus::SetAutoSaveInterval(), TGo4AnalysisStatus::SetAutoSaveOn(), TGo4AnalysisStatus::SetAutoSaveOverwrite(), TGo4FileStoreParameter::SetAutosaveSize(), TGo4BackStoreParameter::SetBufsize(), TGo4FileStoreParameter::SetBufsize(), TGo4FileStoreParameter::SetCompression(), TGo4AnalysisStatus::SetConfigFileName(), TGo4MbsSourceParameter::SetEventInterval(), TGo4FileStoreParameter::SetOverwriteMode(), TGo4UserSourceParameter::SetPort(), TGo4MbsSourceParameter::SetPort(), TGo4AnalysisStepStatus::SetProcessEnabled(), TGo4MbsSourceParameter::SetRetryCnt(), TGo4AnalysisStepStatus::SetSourceEnabled(), TGo4AnalysisStepStatus::SetSourcePar(), TGo4BackStoreParameter::SetSplitlevel(), TGo4FileStoreParameter::SetSplitlevel(), TGo4MbsSourceParameter::SetStartEvent(), TGo4Analysis::SetStatus(), TGo4MbsSourceParameter::SetStopEvent(), TGo4AnalysisStepStatus::SetStoreEnabled(), TGo4AnalysisStepStatus::SetStorePar(), TGo4EventSourceParameter::SetTimeout(), TGo4Analysis::StartAnalysis(), TGo4Analysis::StopAnalysis(), TGo4Analysis::UpdateStatus(), and WriteAutoSave().

Bool_t TGo4AnalysisWebStatus::WriteAutoSave ( const char *  fname,
Bool_t  overwrite,
Int_t  complevel 
)

Friends And Related Function Documentation

friend class TGo4Analysis
friend

Definition at line 30 of file TGo4AnalysisWebStatus.h.

Member Data Documentation

TString TGo4AnalysisWebStatus::fgxURL_ASF_COMP = "asfcomp"
static

Definition at line 86 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_ASF_ENABLED = "asfenabled"
static

Definition at line 83 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_ASF_INTERVAL = "asftime"
static

Definition at line 85 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_ASF_NAME = "asfname"
static

Definition at line 84 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_ASF_OVERWRITE = "asfoverwrite"
static

Definition at line 87 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_ASF_SAVE = "saveasf"
static

Definition at line 82 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_CLOSE = "close"
static

Definition at line 92 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_ENABLESOURCE = "sourceenabled"
static

Definition at line 63 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_ENABLESTEP = "stepenabled"
static

Definition at line 62 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_ENABLESTORE = "storeenabled"
static

Definition at line 64 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_PREFS_LOAD = "loadprefs"
static

Definition at line 90 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_PREFS_NAME = "anaprefsname"
static

Definition at line 89 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_PREFS_SAVE = "saveprefs"
static

Definition at line 91 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_SOURCE_FIRST = "sourcefirst"
static

Definition at line 71 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_SOURCE_LAST = "sourcelast"
static

Definition at line 72 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_SOURCE_NAME = "sourcename"
static

Definition at line 67 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_SOURCE_PORT = "sourceport"
static

Definition at line 68 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_SOURCE_RETRY = "sourceretry"
static

Definition at line 70 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_SOURCE_SKIP = "sourceskip"
static

Definition at line 73 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_SOURCE_TIMEOUT = "sourcetmout"
static

Definition at line 69 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_SOURCE_TYPE = "sourcesel"
static

Definition at line 66 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_STARTRUN = "start"
static

web condition editor keywords used in UpdateFromUrl:

Definition at line 61 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_STORE_ASF = "storeasf"
static

Definition at line 79 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_STORE_BUF = "storebuf"
static

Definition at line 77 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_STORE_COMP = "storecomp"
static

Definition at line 78 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_STORE_NAME = "storename"
static

Definition at line 75 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_STORE_OVERWRITE = "storeover"
static

Definition at line 80 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_STORE_SPLIT = "storesplit"
static

Definition at line 76 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().

TString TGo4AnalysisWebStatus::fgxURL_STORE_TYPE = "storesel"
static

Definition at line 74 of file TGo4AnalysisWebStatus.h.

Referenced by UpdateFromUrl().


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