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 TGO4DISKFILEBROWSERSTATUS_H 00017 #define TGO4DISKFILEBROWSERSTATUS_H 00018 00019 #include "Go4StatusBase/TGo4Status.h" 00020 00021 class TObjArray; 00022 class TTree; 00023 class TFile; 00024 00031 class TGo4DiskFileBrowserStatus : public TGo4Status { 00032 public: 00033 00034 TGo4DiskFileBrowserStatus(const char* name, const char* title); 00035 virtual ~TGo4DiskFileBrowserStatus(); 00036 void AddToFileListStatus(TNamed *f); 00037 TObject *GetObjectfromFileList(const char *Object); 00038 void RemoveFromFileListStatus(TNamed *f); 00039 TObjArray *GetFileListStatus(); 00040 void SetActiveTree(const char *TreeName); 00041 void SetActiveTree(TTree *fxTree); 00042 TTree *GetActiveTree(); 00043 void SetActiveFile(TFile *fxFile); 00044 void SetActiveFile(const char *fxName); 00045 TFile *GetActiveFile(); 00046 00047 private: 00048 00049 TObjArray *FileListStatus; 00050 TTree *fxActiveTree; 00051 TFile *fxActiveFile; 00052 }; 00053 #endif //TGO4DISKFILEBROWSERSTATUS_H 00054 00055 //----------------------------END OF GO4 SOURCE FILE ---------------------