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 "TGo4LogInfoStatus.h" 00017 00018 #include "TObjArray.h" 00019 00020 #include "TGo4LogInfoSlots.h" 00021 #include "TGo4LogInfoObject.h" 00022 00023 TGo4LogInfoStatus::TGo4LogInfoStatus(const char* name, const char* title) 00024 :TGo4Status(name, title) 00025 { 00026 // TGo4LockGuard Global; 00027 LogInfoStatus = new TObjArray(); 00028 } 00029 00030 void TGo4LogInfoStatus::AddLogInfo(TGo4LogInfoObject *Info) 00031 { 00032 // TGo4LockGuard Global; 00033 LogInfoStatus->AddLast(Info); 00034 } 00035 00036 TObjArray *TGo4LogInfoStatus::GetLogInfo() 00037 { 00038 // TGo4LockGuard Global; 00039 return LogInfoStatus; 00040 } 00041 00042 TGo4LogInfoStatus::~TGo4LogInfoStatus() 00043 { 00044 // TGo4LockGuard Global; 00045 LogInfoStatus->Delete(); 00046 delete LogInfoStatus; 00047 } 00048 00049 void TGo4LogInfoStatus::ClearLogInfo() 00050 { 00051 LogInfoStatus->Delete(); 00052 } 00053 00054 //----------------------------END OF GO4 SOURCE FILE ---------------------