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

TGo4ComAutosave Class Reference

Write objects into autosave file now. More...

#include <TGo4ComAutosave.h>

Inheritance diagram for TGo4ComAutosave:

TGo4AnalysisCommand TGo4Command List of all members.

Public Member Functions

 TGo4ComAutosave ()
virtual ~TGo4ComAutosave ()
Int_t ExeCom ()
 Do the command action.
virtual void Set (TGo4RemoteCommand *remcon)
 Set internals of this command from specification of external remote command (command container).
void SetAutoSaveCompression (Int_t i=5)
void SetAutoSaveOverwrite (Bool_t over=kTRUE)
void SetAutoFileName (const char *name)
const char * GetAutoFileName () const

Private Attributes

Int_t fiAutoSaveCompression
 compression level for autosave file
Int_t fbAutoSaveOverwrite
 overwrite mode for autosave (true) or append mode (false).
TString fxAutoFileName
 Name of the autosave file.

Detailed Description

Write objects into autosave file now.

Definition at line 25 of file TGo4ComAutosave.h.


Constructor & Destructor Documentation

TGo4ComAutosave::TGo4ComAutosave  ) 
 

Definition at line 23 of file TGo4ComAutosave.cxx.

References kGo4ComModeController, TGo4Command::SetProtection(), TGo4Command::SetReceiverName(), and TRACE.

TGo4ComAutosave::~TGo4ComAutosave  )  [virtual]
 

Definition at line 33 of file TGo4ComAutosave.cxx.

References TRACE.


Member Function Documentation

Int_t TGo4ComAutosave::ExeCom  )  [virtual]
 

Do the command action.

Reimplemented from TGo4Command.

Definition at line 46 of file TGo4ComAutosave.cxx.

References TGo4Analysis::AutoSave(), TGo4Log::Debug(), fbAutoSaveOverwrite, fiAutoSaveCompression, TGo4Command::fxReceiverBase, GetAutoFileName(), TGo4Analysis::Instance(), TGo4Analysis::IsAutoSaveOn(), TGo4Slave::SendStatusMessage(), TGo4Analysis::SetAutoSave(), TGo4Analysis::SetAutoSaveFile(), and TRACE.

void TGo4ComAutosave::Set TGo4RemoteCommand remcon  )  [virtual]
 

Set internals of this command from specification of external remote command (command container).

Must be overloaded for each specific command!

Reimplemented from TGo4Command.

Definition at line 38 of file TGo4ComAutosave.cxx.

References TGo4RemoteCommand::GetString(), TGo4RemoteCommand::GetValue(), SetAutoFileName(), SetAutoSaveCompression(), and SetAutoSaveOverwrite().

void TGo4ComAutosave::SetAutoSaveCompression Int_t  i = 5  )  [inline]
 

Definition at line 39 of file TGo4ComAutosave.h.

References fiAutoSaveCompression.

Referenced by Set().

void TGo4ComAutosave::SetAutoSaveOverwrite Bool_t  over = kTRUE  )  [inline]
 

Definition at line 41 of file TGo4ComAutosave.h.

References fbAutoSaveOverwrite.

Referenced by Set().

void TGo4ComAutosave::SetAutoFileName const char *  name  )  [inline]
 

Definition at line 43 of file TGo4ComAutosave.h.

References fxAutoFileName.

Referenced by Set().

const char* TGo4ComAutosave::GetAutoFileName  )  const [inline]
 

Definition at line 45 of file TGo4ComAutosave.h.

References fxAutoFileName.

Referenced by ExeCom().


Member Data Documentation

Int_t TGo4ComAutosave::fiAutoSaveCompression [private]
 

compression level for autosave file

Definition at line 50 of file TGo4ComAutosave.h.

Referenced by ExeCom(), and SetAutoSaveCompression().

Int_t TGo4ComAutosave::fbAutoSaveOverwrite [private]
 

overwrite mode for autosave (true) or append mode (false).

Definition at line 53 of file TGo4ComAutosave.h.

Referenced by ExeCom(), and SetAutoSaveOverwrite().

TString TGo4ComAutosave::fxAutoFileName [private]
 

Name of the autosave file.

Replaces previously set name

Definition at line 56 of file TGo4ComAutosave.h.

Referenced by GetAutoFileName(), and SetAutoFileName().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:36 2008 for Go4-v3.04-1 by  doxygen 1.4.2