00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4ANALYSISCONFIGURATIONSLOTS_H 00017 #define TGO4ANALYSISCONFIGURATIONSLOTS_H 00018 00019 #include "Go4GUIBase/TGo4SlotsBaseClass.h" 00020 00021 class TGo4Status; 00022 class TGo4AnalysisConfiguration; 00023 class TGo4AnalysisConfigurationStatus; 00024 class TGo4GUIRegistry; 00025 00033 class TGo4AnalysisConfigurationSlots : public TGo4SlotsBaseClass { 00034 public: 00035 00036 TGo4AnalysisConfigurationSlots(const char* Name, const char* Title, TGo4AnalysisConfiguration * p=0); 00037 00038 virtual ~TGo4AnalysisConfigurationSlots(); 00039 00040 void SetGUI (TGo4AnalysisConfiguration *GUI ); 00041 00042 int GetNoOfSteps(); 00043 00044 void StatusChanged(TGo4Status *status); 00045 00046 TGo4Status * GetStatus(); 00047 00048 void ClearAll(); 00049 00050 void SaveConfiguration(); 00051 00052 void LoadConfiguration(); 00053 00054 void SubmitConfiguration(); 00055 00056 void SetAutoSaveInterval(int t); 00057 00058 void SetAutoSaveOverwrite(bool Overwrite); 00059 00060 void SetAutoSaveOn(bool on); 00061 00062 void SaveConfFile(const char * filename); 00063 00064 void LoadConfFile(const char *fileName); 00065 00066 void AutoSaveFile(const char * filename); 00067 00068 void SetCompressionLevel(int t); 00069 00070 void GetActiveConf(); 00071 00072 void WriteAutoSave(); 00073 00074 private: 00075 00076 TGo4GUIRegistry *fxTGo4GUIRegistry; 00077 TGo4AnalysisConfiguration * fxTGo4AnalysisConfiguration; 00078 TGo4AnalysisConfigurationStatus * fxTGo4AnalysisConfigurationStatus; 00079 int NoOfAnalysisSteps; 00080 00082 Bool_t fbFirstStart; 00083 }; 00084 00085 #endif //TGO4ANALYSISCONFIGURATIONSLOTS_H 00086 00087 //----------------------------END OF GO4 SOURCE FILE ---------------------