GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ComAutosave.h
Go to the documentation of this file.
1 // $Id: TGo4ComAutosave.h 1033 2013-11-05 15:30:01Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4COMAUTOSAVE_H
15 #define TGO4COMAUTOSAVE_H
16 
17 #include "TGo4AnalysisCommand.h"
18 #include "TString.h"
19 
24  public:
25 
27 
28  virtual ~TGo4ComAutosave();
29 
30  virtual Int_t ExeCom();
31 
35  virtual void Set(TGo4RemoteCommand* remcon);
36 
38 
39  void SetAutoSaveOverwrite(Bool_t over=kTRUE) { fbAutoSaveOverwrite = over ? 1 : 0; }
40 
41  void SetAutoFileName(const char* name) { fxAutoFileName = name; }
42 
43  const char* GetAutoFileName() const { return fxAutoFileName.Data(); }
44 
45  private:
46 
49 
52 
54  TString fxAutoFileName;
55 
56  ClassDef(TGo4ComAutosave,1)
57 };
58 
59 #endif //TGO4COMAUTOSAVE_H
void SetAutoFileName(const char *name)
void SetAutoSaveOverwrite(Bool_t over=kTRUE)
void SetAutoSaveCompression(Int_t i=5)
virtual Int_t ExeCom()
TString fxAutoFileName
Int_t fiAutoSaveCompression
const char * GetAutoFileName() const
virtual void Set(TGo4RemoteCommand *remcon)
virtual ~TGo4ComAutosave()