GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
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. More...
#include <TGo4AnalysisWebStatus.h>
Public Member Functions | |
TGo4AnalysisWebStatus () | |
default ctor for streamer. | |
TGo4AnalysisWebStatus (const char *name) | |
virtual | ~TGo4AnalysisWebStatus () |
Bool_t | ApplyStatus (TGo4AnalysisStatus *status) |
Method used by Go4GUI via HTTP to set status to analysis. | |
TGo4AnalysisStatus * | CreateStatus () |
Methods used by Go4GUI via HTTP to obtain status of analysis. | |
Bool_t | ExecuteLine (const char *cmd) |
Bool_t | LoadStatus (const char *fname) |
Bool_t | SaveStatus (const char *fname) |
Bool_t | UpdateFromUrl (const char *rest_url_opt) |
Method used by HTTP server to update some fields, specified in URL syntax. | |
Bool_t | WriteAutoSave (const char *fname, Bool_t overwrite, Int_t complevel) |
![]() | |
TGo4AnalysisStatus () | |
default ctor for streamer. | |
TGo4AnalysisStatus (const char *name) | |
virtual | ~TGo4AnalysisStatus () |
Bool_t | AddStepStatus (TGo4AnalysisStepStatus *next) |
Add new step status object to analysis status. | |
void | ClearStepStatus () |
Clear all existing step status objects. | |
const char * | GetAutoFileName () const |
Int_t | GetAutoSaveCompression () const |
Int_t | GetAutoSaveInterval () const |
const char * | GetConfigFileName () const |
Int_t | GetFirstStepIndex () const |
Int_t | GetLastStepIndex () const |
Int_t | GetNumberOfSteps () const |
Gives number of steps. | |
TGo4AnalysisStepStatus * | GetStepStatus (const char *name) |
Access to certain analysis step status by name. | |
TGo4AnalysisStepStatus * | GetStepStatus (Int_t indx) const |
Gives analysis step status with provided index. | |
Int_t | IsAutoSaveOn () const |
Int_t | IsAutoSaveOverwrite () const |
Int_t | IsStepChecking () const |
TGo4AnalysisStepStatus * | NextStepStatus () |
Gives next analysis step status. | |
void | Print (Option_t *opt="") const override |
basic method to printout status information on stdout; to be overridden by specific subclass | |
void | ResetStepIterator () |
void | SetAutoFileName (const char *name) |
void | SetAutoSaveCompression (Int_t i=5) |
void | SetAutoSaveInterval (Int_t i) |
void | SetAutoSaveOn (Bool_t on=kTRUE) |
void | SetAutoSaveOverwrite (Bool_t over=kTRUE) |
void | SetConfigFileName (const char *name) |
void | SetFirstStepIndex (Int_t i) |
void | SetLastStepIndex (Int_t i) |
void | SetStepChecking (Int_t on) |
![]() | |
TGo4Status () | |
TGo4Status (const char *name) | |
TGo4Status (const char *name, const char *title) | |
virtual | ~TGo4Status () |
void | Print (Option_t *opt="") const override |
virtual Int_t | PrintStatus (Text_t *buffer=nullptr, Int_t buflen=0) |
DEPRECATED - please use Print(Option_t *) signature basic method to printout status information on stdout; to be overridden by specific subclass. | |
Static Public Attributes | |
static TString | fgxURL_ASF_COMP = "asfcomp" |
static TString | fgxURL_ASF_ENABLED = "asfenabled" |
static TString | fgxURL_ASF_INTERVAL = "asftime" |
static TString | fgxURL_ASF_NAME = "asfname" |
static TString | fgxURL_ASF_OVERWRITE = "asfoverwrite" |
static TString | fgxURL_ASF_SAVE = "saveasf" |
static TString | fgxURL_CLOSE = "close" |
static TString | fgxURL_ENABLESOURCE = "sourceenabled" |
static TString | fgxURL_ENABLESTEP = "stepenabled" |
static TString | fgxURL_ENABLESTORE = "storeenabled" |
static TString | fgxURL_PREFS_LOAD = "loadprefs" |
static TString | fgxURL_PREFS_NAME = "anaprefsname" |
static TString | fgxURL_PREFS_SAVE = "saveprefs" |
static TString | fgxURL_SOURCE_FIRST = "sourcefirst" |
static TString | fgxURL_SOURCE_LAST = "sourcelast" |
static TString | fgxURL_SOURCE_NAME = "sourcename" |
static TString | fgxURL_SOURCE_PORT = "sourceport" |
static TString | fgxURL_SOURCE_RETRY = "sourceretry" |
static TString | fgxURL_SOURCE_SKIP = "sourceskip" |
static TString | fgxURL_SOURCE_TAG = "sourcetag" |
static TString | fgxURL_SOURCE_TIMEOUT = "sourcetmout" |
static TString | fgxURL_SOURCE_TYPE = "sourcesel" |
static TString | fgxURL_STARTRUN = "start" |
web condition editor keywords used in UpdateFromUrl: | |
static TString | fgxURL_STORE_ASF = "storeasf" |
static TString | fgxURL_STORE_BUF = "storebuf" |
static TString | fgxURL_STORE_COMP = "storecomp" |
static TString | fgxURL_STORE_NAME = "storename" |
static TString | fgxURL_STORE_OVERWRITE = "storeover" |
static TString | fgxURL_STORE_SPLIT = "storesplit" |
static TString | fgxURL_STORE_TYPE = "storesel" |
Friends | |
class | TGo4Analysis |
Additional Inherited Members | |
![]() | |
enum | { kGo4NoReset = BIT(20) , kGo4CanDelete = BIT(21) , kGo4BackStoreReset = BIT(22) } |
Go4 status bits to be used in object manager to suppress resetting or deleting histograms, etc. More... | |
![]() | |
static Text_t * | PrintBuffer (char *buffer, Int_t &buflen, const char *text,...) |
Print text with variable expression into buffer. | |
static Text_t * | PrintIndent (Text_t *buffer, Int_t &buflen) |
Insert indentation blanks into text buffer. | |
static void | PrintLine (const char *text,...) |
Print single line of debug output with appropriate indent. | |
![]() | |
Int_t | fbAutoSaveOn {1} |
True if Autosaving is enabled (default). | |
Int_t | fbAutoSaveOverwrite {0} |
overwrite mode for autosave yes or no. | |
Int_t | fbStepCheckingMode {1} |
True if chain of steps is checked for consistency of input and output events. | |
Int_t | fiAutoSaveCompression {5} |
compression level for autosave file | |
Int_t | fiAutoSaveInterval {0} |
Implicit Loop cycles in between two autosave actions. | |
Int_t | fiFirstStepIndex {0} |
Index describing the first analysis step from the steplist to be processed. | |
Int_t | fiLastStepIndex {0} |
Index describing the last analysis step from the steplist to be processed. | |
TString | fxAutoFileName |
Name of the autosave file. | |
TString | fxConfigFileName |
Name of the last configuration file. | |
TObjArray * | fxStepArray {nullptr} |
Array containing all analysis steps. | |
TIterator * | fxStepIterator {nullptr} |
Iterator used for analysis step list. | |
TMutex * | fxStepMutex {nullptr} |
Mutex protecting the analysis step list. | |
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.
Definition at line 28 of file TGo4AnalysisWebStatus.h.
|
inline |
default ctor for streamer.
Definition at line 35 of file TGo4AnalysisWebStatus.h.
References TGo4AnalysisStatus::TGo4AnalysisStatus().
|
inline |
Definition at line 37 of file TGo4AnalysisWebStatus.h.
References TGo4AnalysisStatus::TGo4AnalysisStatus().
|
inlinevirtual |
Definition at line 39 of file TGo4AnalysisWebStatus.h.
Bool_t TGo4AnalysisWebStatus::ApplyStatus | ( | TGo4AnalysisStatus * | status | ) |
Method used by Go4GUI via HTTP to set status to analysis.
Definition at line 562 of file TGo4AnalysisWebStatus.cxx.
References TGo4AnalysisStatus::TGo4AnalysisStatus(), TGo4Analysis::GetAnalysisClient(), TGo4Analysis::InitEventClasses(), TGo4Analysis::Instance(), TGo4Analysis::IsStopWorking(), TGo4Slave::MainIsRunning(), TGo4Analysis::PostLoop(), TGo4Analysis::PreLoop(), TGo4Analysis::SetStatus(), TGo4Analysis, and TGo4Analysis::UpdateStatus().
TGo4AnalysisStatus * TGo4AnalysisWebStatus::CreateStatus | ( | ) |
Methods used by Go4GUI via HTTP to obtain status of analysis.
Definition at line 555 of file TGo4AnalysisWebStatus.cxx.
References TGo4AnalysisStatus::TGo4AnalysisStatus(), TGo4Analysis::CreateStatus(), TGo4Analysis::Instance(), and TGo4Analysis.
Bool_t TGo4AnalysisWebStatus::ExecuteLine | ( | const char * | cmd | ) |
Definition at line 627 of file TGo4AnalysisWebStatus.cxx.
References TGo4Analysis::ExecuteLine(), TGo4Analysis::Instance(), and TGo4Analysis.
Bool_t TGo4AnalysisWebStatus::LoadStatus | ( | const char * | fname | ) |
Definition at line 592 of file TGo4AnalysisWebStatus.cxx.
References TGo4Analysis::Instance(), TGo4Analysis::LoadStatus(), and TGo4Analysis.
Referenced by UpdateFromUrl().
Bool_t TGo4AnalysisWebStatus::SaveStatus | ( | const char * | fname | ) |
Definition at line 602 of file TGo4AnalysisWebStatus.cxx.
References TGo4Analysis::Instance(), TGo4Analysis::SaveStatus(), and TGo4Analysis.
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 59 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_TAG, 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(), TGo4MbsSourceParameter::GetPort(), TGo4UserSourceParameter::GetPort(), TGo4BackStoreParameter::GetSplitlevel(), TGo4FileStoreParameter::GetSplitlevel(), TGo4MbsSourceParameter::GetStartEvent(), TGo4MbsSourceParameter::GetStopEvent(), 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(), TGo4AnalysisStatus::ResetStepIterator(), SaveStatus(), TGo4AnalysisStatus::SetAutoFileName(), TGo4AnalysisStatus::SetAutoSaveCompression(), TGo4AnalysisStatus::SetAutoSaveInterval(), TGo4AnalysisStatus::SetAutoSaveOn(), TGo4AnalysisStatus::SetAutoSaveOverwrite(), TGo4FileStoreParameter::SetAutosaveSize(), TGo4BackStoreParameter::SetBufsize(), TGo4FileStoreParameter::SetBufsize(), TGo4AnalysisStatus::SetConfigFileName(), TGo4MbsSourceParameter::SetEventInterval(), TGo4FileStoreParameter::SetOverwriteMode(), TGo4MbsSourceParameter::SetPort(), TGo4UserSourceParameter::SetPort(), TGo4MbsSourceParameter::SetRetryCnt(), TGo4BackStoreParameter::SetSplitlevel(), TGo4FileStoreParameter::SetSplitlevel(), TGo4MbsSourceParameter::SetStartEvent(), TGo4Analysis::SetStatus(), TGo4MbsSourceParameter::SetStopEvent(), TGo4MbsFileParameter::SetTagName(), TGo4EventSourceParameter::SetTimeout(), TGo4Analysis::StartAnalysis(), TGo4Analysis::StopAnalysis(), TGo4Analysis, TGo4Analysis::UpdateStatus(), and WriteAutoSave().
Bool_t TGo4AnalysisWebStatus::WriteAutoSave | ( | const char * | fname, |
Bool_t | overwrite, | ||
Int_t | complevel ) |
Definition at line 612 of file TGo4AnalysisWebStatus.cxx.
References TGo4Analysis::AutoSave(), TGo4Analysis::Instance(), TGo4Analysis::SetAutoSaveFile(), and TGo4Analysis.
Referenced by UpdateFromUrl().
|
friend |
Definition at line 30 of file TGo4AnalysisWebStatus.h.
References TGo4Analysis.
Referenced by ApplyStatus(), CreateStatus(), ExecuteLine(), LoadStatus(), SaveStatus(), TGo4Analysis, UpdateFromUrl(), and WriteAutoSave().
|
static |
Definition at line 87 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 84 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 86 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 85 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 88 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 83 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 93 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 63 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 62 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 64 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 91 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 90 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 92 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 72 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 73 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 67 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 69 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 71 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 74 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 68 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 70 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 66 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
web condition editor keywords used in UpdateFromUrl:
Definition at line 61 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 80 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 78 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 79 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 76 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 81 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 77 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().
|
static |
Definition at line 75 of file TGo4AnalysisWebStatus.h.
Referenced by UpdateFromUrl().