00001 // ===================================================================== 00002 // $Id: TInitializeRunInformationModuleCommand.cc,v 1.4 2004/03/07 10:30:28 goiwai Exp $ 00003 // $Name: CLDAQ-1-14-03 $ 00004 // $Log: TInitializeRunInformationModuleCommand.cc,v $ 00005 // Revision 1.4 2004/03/07 10:30:28 goiwai 00006 // ROOTに組みこむためのおまじないマクロを埋めこみました。 00007 // 全てにおいて完全に動作するわけではありません。 00008 // 00009 // Revision 1.3 2003/10/06 17:02:37 goiwai 00010 // *** empty log message *** 00011 // 00012 // Revision 1.2 2003/07/30 16:17:31 goiwai 00013 // ファイルにコミットログをつけることにしました. 00014 // 00015 // ===================================================================== 00016 #include "TInitializeRunInformationModuleCommand.hh" 00017 #include "TRunManager.hh" 00018 #include "TSoftwareRunInformationModule.hh" 00019 #include "TRunInformationTable.hh" 00020 00021 static const Tstring _name = "/run/initinfo"; 00022 static const Tstring _desc = "initialize run information in the table."; 00023 00024 TInitializeRunInformationModuleCommand::TInitializeRunInformationModuleCommand( TRunManager* manager, TSoftwareRunInformationModule* module ) 00025 : TCommand( manager, _name, _desc ), TRunInformationModuleCommand( module ) 00026 {;} 00027 00028 TInitializeRunInformationModuleCommand::~TInitializeRunInformationModuleCommand() 00029 {;} 00030 00031 Tvoid TInitializeRunInformationModuleCommand::Execute( const TstringList& arguments ) 00032 { 00033 if ( theRunInformationModule == 0 ) { 00034 return; 00035 } 00036 00037 theRunInformationModule -> Initialize(); 00038 return; 00039 } 00040 00041 #ifdef __CLDAQ_ROOT_DLL 00042 ClassImp(TInitializeRunInformationModuleCommand) 00043 #endif