00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "TGo4AnalysisObjectCommand.h"
00017
00018 #include "TGo4Log.h"
00019 #include "TGo4RemoteCommand.h"
00020 #include "TGo4AnalysisObjectManager.h"
00021
00022 TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand() :
00023 TGo4AnalysisCommand()
00024 {
00025 TRACE((12,"TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand() ctor",__LINE__, __FILE__));
00026 SetFolderName(TGo4AnalysisObjectManager::fgcTOPFOLDER);
00027 }
00028
00029 TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand(const char* comname,
00030 const char* description,
00031 const char* obname) :
00032 TGo4AnalysisCommand(comname,description)
00033 {
00034 TRACE((12,"TGo4AnalysisObjectCommand::TGo4AnalysisObjectCommand() ctor",__LINE__, __FILE__));
00035 SetObjectName(obname);
00036 SetFolderName(TGo4AnalysisObjectManager::fgcTOPFOLDER);
00037 }
00038
00039 TGo4AnalysisObjectCommand::~TGo4AnalysisObjectCommand()
00040 {
00041 TRACE((12,"TGo4AnalysisObjectCommand::~TGo4AnalysisObjectCommand() dtor",__LINE__, __FILE__));
00042 }
00043
00044 void TGo4AnalysisObjectCommand::Set(TGo4RemoteCommand* remcom)
00045 {
00046 if(remcom==0) return;
00047 SetObjectName(remcom->GetString(0));
00048 if(strcmp(remcom->GetString(1),TGo4RemoteCommand::Get_fgxREMCOMEMPTYSTRING()))
00049 SetFolderName(remcom->GetString(1));
00050 }
00051
00052