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

TAddRunInformationModuleCommand.cc

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


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