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 #include "TGo4AnalysisConfigurationStatus.h" 00017 00018 #include "Go4Analysis/TGo4AnalysisStatus.h" 00019 00020 TGo4AnalysisConfigurationStatus::TGo4AnalysisConfigurationStatus(const char* Name, const char* Title) : 00021 TGo4Status(Name, Title) 00022 { 00023 // TGo4LockGuard Global; 00024 fxTGo4AnalysisStatus=0; 00025 // default values for path strings: 00026 SetSourcePath(); 00027 SetStorePath(); 00028 SetAutoSavePath(); 00029 SetConfigPath(); 00030 00031 } 00032 00033 TGo4AnalysisConfigurationStatus::~TGo4AnalysisConfigurationStatus(){} 00034 00035 void TGo4AnalysisConfigurationStatus::SetAnaylsisStatus(TGo4AnalysisStatus *Status) 00036 { 00037 // TGo4LockGuard Global; 00038 if(fxTGo4AnalysisStatus!=0){ 00039 delete fxTGo4AnalysisStatus; 00040 } 00041 fxTGo4AnalysisStatus=Status; 00042 } 00043 00044 void TGo4AnalysisConfigurationStatus::DeleteAnaylsisStatus() 00045 { 00046 // TGo4LockGuard Global; 00047 if(fxTGo4AnalysisStatus!=0){ 00048 delete fxTGo4AnalysisStatus; 00049 } 00050 } 00051 00052 TGo4AnalysisStatus *TGo4AnalysisConfigurationStatus::GetAnaylsisStatus() 00053 { 00054 // TGo4LockGuard Global; 00055 return fxTGo4AnalysisStatus; 00056 } 00057 00058 //----------------------------END OF GO4 SOURCE FILE ---------------------