GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4ComAutosave.h
Go to the documentation of this file.
1// $Id$
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 fuer 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 Int_t ExeCom() override;
29
33 void Set(TGo4RemoteCommand *remcon) override;
34
36
37 void SetAutoSaveOverwrite(Bool_t over = kTRUE) { fbAutoSaveOverwrite = over ? 1 : 0; }
38
39 void SetAutoFileName(const char *name) { fxAutoFileName = name; }
40
41 const char *GetAutoFileName() const { return fxAutoFileName.Data(); }
42
43 private:
44
47
50
53
54 ClassDefOverride(TGo4ComAutosave,1)
55};
56
57#endif //TGO4COMAUTOSAVE_H
void SetAutoSaveOverwrite(Bool_t over=kTRUE)
Int_t ExeCom() override
Do the command action.
void SetAutoSaveCompression(Int_t i=5)
void Set(TGo4RemoteCommand *remcon) override
Set internals of this command from specification of external remote command (command container).
Int_t fbAutoSaveOverwrite
overwrite mode for autosave (true) or append mode (false).
TString fxAutoFileName
Name of the autosave file.
const char * GetAutoFileName() const
void SetAutoFileName(const char *name)
Int_t fiAutoSaveCompression
compression level for autosave file
This command is a container for commands to be send from master to slave via inter-process transport.