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

TSystemAction.cc

解説を見る。
00001 // =====================================================================
00002 //  $Id: TSystemAction.cc,v 1.6 2004/06/24 15:15:26 goiwai Exp $
00003 //  $Name: CLDAQ-1-14-03 $
00004 //  $Log: TSystemAction.cc,v $
00005 //  Revision 1.6  2004/06/24 15:15:26  goiwai
00006 //  たくさんの変更
00007 //  Tcout,Tcerr,Tlogをバッファ経由にした。
00008 //  何個かexternした。Tlog,Tcout,Tcerr,Tinfo...Tcritなど出力関係。
00009 //
00010 //  Revision 1.5  2004/03/07 10:30:34  goiwai
00011 //  ROOTに組みこむためのおまじないマクロを埋めこみました。
00012 //  全てにおいて完全に動作するわけではありません。
00013 //
00014 //  Revision 1.4  2004/03/04 14:52:28  goiwai
00015 //  BeginOfSystemAction -> Boot
00016 //  EndOfSystemAction -> Shutdown
00017 //
00018 //  Revision 1.3  2003/10/06 16:38:26  goiwai
00019 //  *** empty log message ***
00020 //
00021 //  Revision 1.2  2003/07/30 16:21:21  goiwai
00022 //  ファイルにコミットログをつけることにしました.
00023 //
00024 // =====================================================================
00025 #include "TSystemAction.hh"
00026 
00027 TSystemAction::TSystemAction()
00028 {;}
00029 
00030 TSystemAction::~TSystemAction()
00031 {;}
00032 
00033 Tvoid TSystemAction::Boot( TRunManager* manager )
00034 {
00035   return;
00036 }
00037 
00038 Tvoid TSystemAction::Shutdown( TRunManager* manager )
00039 {
00040   return;
00041 }
00042 
00043 Tvoid TSystemAction::CatchStandardOut( Tstring message )
00044 {
00045   std::cout << message << std::flush;
00046   return;
00047 }
00048 
00049 Tvoid TSystemAction::CatchStandardError( Tstring message )
00050 {
00051   std::cerr << message << std::flush;
00052   return;
00053 }
00054 
00055 Tvoid TSystemAction::CatchLog( Tstring message, Tint level )
00056 {
00057   std::clog << message << std::flush;
00058   return;
00059 }
00060 
00061 #ifdef __CLDAQ_ROOT_DLL
00062     ClassImp(TSystemAction)
00063 #endif


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