GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4AnalysisObjectCommand.cxx
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 
15 
16 #include "TGo4Log.h"
17 #include "TGo4RemoteCommand.h"
19 
22 {
23  GO4TRACE((12,"TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand() ctor",__LINE__, __FILE__));
25 }
26 
28  const char *description,
29  const char *obname) :
30  TGo4AnalysisCommand(comname, description)
31 {
32  GO4TRACE((12,"TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand() ctor",__LINE__, __FILE__));
33  SetObjectName(obname);
35 }
36 
38 {
39  if(!remcom) return;
40  SetObjectName(remcom->GetString(0));
42  SetFolderName(remcom->GetString(1)); // only reset folder if specified!
43 }
const char * GetString(Int_t i) const
void SetFolderName(const char *name)
void SetObjectName(const char *name)
#define GO4TRACE(X)
Definition: TGo4Log.h:25
void Set(TGo4RemoteCommand *remcon) override
static const char * Get_fgxREMCOMEMPTYSTRING()