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