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