#include <TGo4ComSaveAnalysisStatus.h>
Public Member Functions | |
TGo4ComSaveAnalysisStatus () | |
TGo4ComSaveAnalysisStatus (const char *filename) | |
virtual | ~TGo4ComSaveAnalysisStatus () |
Int_t | ExeCom () |
virtual void | Set (TGo4RemoteCommand *remcon) |
const char * | GetFileName () const |
void | SetFileName (const char *name) |
Private Attributes | |
TString | fxFileName |
Save current analysis settings to a file specified by name.
Definition at line 24 of file TGo4ComSaveAnalysisStatus.h.
TGo4ComSaveAnalysisStatus::TGo4ComSaveAnalysisStatus | ( | ) |
Definition at line 32 of file TGo4ComSaveAnalysisStatus.cxx.
References TGo4Analysis::fgcDEFAULTSTATUSFILENAME, GO4TRACE, kGo4ComModeController, SetFileName(), TGo4Command::SetProtection(), and TGo4Command::SetReceiverName().
TGo4ComSaveAnalysisStatus::TGo4ComSaveAnalysisStatus | ( | const char * | filename | ) |
Definition at line 21 of file TGo4ComSaveAnalysisStatus.cxx.
References GO4TRACE, kGo4ComModeController, SetFileName(), TGo4Command::SetProtection(), and TGo4Command::SetReceiverName().
TGo4ComSaveAnalysisStatus::~TGo4ComSaveAnalysisStatus | ( | ) | [virtual] |
Definition at line 43 of file TGo4ComSaveAnalysisStatus.cxx.
References GO4TRACE.
Int_t TGo4ComSaveAnalysisStatus::ExeCom | ( | ) | [virtual] |
Do the command action
Reimplemented from TGo4Command.
Definition at line 56 of file TGo4ComSaveAnalysisStatus.cxx.
References TGo4Log::Debug(), TGo4Command::fxReceiverBase, GetFileName(), GO4TRACE, TGo4Analysis::Instance(), TGo4Analysis::SaveStatus(), and TGo4AnalysisClient::SendStatusMessage().
const char* TGo4ComSaveAnalysisStatus::GetFileName | ( | ) | const [inline] |
Access to the object name under command.
Definition at line 41 of file TGo4ComSaveAnalysisStatus.h.
References fxFileName.
Referenced by ExeCom().
void TGo4ComSaveAnalysisStatus::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 48 of file TGo4ComSaveAnalysisStatus.cxx.
References TGo4RemoteCommand::GetString(), and SetFileName().
void TGo4ComSaveAnalysisStatus::SetFileName | ( | const char * | name | ) | [inline] |
Set the object name under command.
Definition at line 44 of file TGo4ComSaveAnalysisStatus.h.
References fxFileName.
Referenced by Set(), and TGo4ComSaveAnalysisStatus().
TString TGo4ComSaveAnalysisStatus::fxFileName [private] |
Name of the settings file.
Definition at line 49 of file TGo4ComSaveAnalysisStatus.h.
Referenced by GetFileName(), and SetFileName().