メインページ   モジュール   名前空間一覧   クラス階層   アルファベット順一覧   構成   ファイル一覧   構成メンバ   ファイルメンバ   関連ページ    

TShowRunInformationModuleCommand.cc

解説を見る。
00001 // =====================================================================
00002 //  $Id: TShowRunInformationModuleCommand.cc,v 1.4 2004/03/07 10:30:28 goiwai Exp $
00003 //  $Name: CLDAQ-1-14-03 $
00004 //  $Log: TShowRunInformationModuleCommand.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:33  goiwai
00013 //  ファイルにコミットログをつけることにしました.
00014 //
00015 // =====================================================================
00016 #include "TShowRunInformationModuleCommand.hh"
00017 #include "TRunManager.hh"
00018 #include "TSoftwareRunInformationModule.hh"
00019 #include "TRunInformationTable.hh"
00020 
00021 static const Tstring _name = "/run/showinfo";
00022 static const Tstring _desc = "show run information in the table.";
00023 
00024 TShowRunInformationModuleCommand::TShowRunInformationModuleCommand( TRunManager* manager, TSoftwareRunInformationModule* module )
00025   : TCommand( manager, _name, _desc ), TRunInformationModuleCommand( module )
00026 {;}
00027 
00028 TShowRunInformationModuleCommand::~TShowRunInformationModuleCommand()
00029 {;}
00030 
00031 Tvoid TShowRunInformationModuleCommand::Execute( const TstringList& arguments )
00032 {
00033   Tstring head = "TShowRunInformationModuleCommand::Execute: ";
00034   if ( theRunInformationModule == 0 ) {
00035     return;
00036   }
00037   Tcout << theRunInformationModule -> GetRunInformationTable() << Tendl;
00038   return;
00039 }
00040 
00041 #ifdef __CLDAQ_ROOT_DLL
00042     ClassImp(TShowRunInformationModuleCommand)
00043 #endif


CLDAQ - a Class Library for DataAcQuisition (Version 1.14.3)
Go IWAI -- goiwai at users.sourceforge.jp