Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4ComAutosave.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE 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 TGO4COMAUTOSAVE_H
00017 #define TGO4COMAUTOSAVE_H
00018 
00019 #include "TGo4AnalysisCommand.h"
00020 #include "TString.h"
00021 
00025 class TGo4ComAutosave : public TGo4AnalysisCommand {
00026   public:
00027 
00028     TGo4ComAutosave();
00029 
00030     virtual ~TGo4ComAutosave();
00031 
00032     Int_t ExeCom();
00033 
00037     virtual void Set(TGo4RemoteCommand* remcon);
00038 
00039     void SetAutoSaveCompression(Int_t i=5) { fiAutoSaveCompression=i; }
00040 
00041     void SetAutoSaveOverwrite(Bool_t over=kTRUE) { fbAutoSaveOverwrite = over ? 1 : 0; }
00042 
00043     void SetAutoFileName(const char* name) { fxAutoFileName = name; }
00044 
00045     const char* GetAutoFileName() const { return fxAutoFileName.Data(); }
00046 
00047   private:
00048 
00050     Int_t fiAutoSaveCompression;
00051 
00053     Int_t fbAutoSaveOverwrite;
00054 
00056     TString fxAutoFileName;
00057 
00058    ClassDef(TGo4ComAutosave,1)
00059 };
00060 
00061 #endif //TGO4COMAUTOSAVE_H
00062 
00063 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:05 2008 for Go4-v3.04-1 by  doxygen 1.4.2