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

TSoftwareRunInformationModule.hh

解説を見る。
00001 // =====================================================================
00002 //  $Id: TSoftwareRunInformationModule.hh,v 1.2 2003/07/30 16:19:11 goiwai Exp $
00003 //  $Name: CLDAQ-1-08-00 $
00004 //
00005 //  $Log: TSoftwareRunInformationModule.hh,v $
00006 //  Revision 1.2  2003/07/30 16:19:11  goiwai
00007 //  ファイルにコミットログをつけることにしました.
00008 //
00009 // =====================================================================
00010 #ifndef __TSOFTWARERUNINFORMATIONMODULE_HH
00011 #define __TSOFTWARERUNINFORMATIONMODULE_HH
00012 
00013 #include "Tglobals.h"
00014 #include "TSoftwareModule.hh"
00015 #include "TRunInformationTable.hh"
00016 
00017 class TDataSegment;
00018 class TDataElement;
00019 
00020 class TSoftwareRunInformationModule
00021   : public TSoftwareModule
00022 {
00023 
00024   private:
00025     TRunInformationTable theRunInformationTable;
00026 
00027   public:
00028     TSoftwareRunInformationModule();
00029     TSoftwareRunInformationModule( const TRunInformationTable& table );
00030     TSoftwareRunInformationModule( const TSoftwareRunInformationModule& right );
00031     ~TSoftwareRunInformationModule();
00032 
00033   public:
00034     Tint Clear();
00035     Tint Update();
00036     Tint Initialize();
00037     Tvoid FillData( TDataElement& element, Tint channel );
00038 
00039   public:
00040     const TSoftwareRunInformationModule& operator=( const TSoftwareRunInformationModule& right );
00041     Tbool operator==( const TSoftwareRunInformationModule& right ) const;
00042     Tbool operator!=( const TSoftwareRunInformationModule& right ) const;
00043 
00044   public:
00045     TRunInformationTable& GetRunInformationTable();
00046     const TRunInformationTable& GetRunInformationTable() const;
00047     Tvoid SetRunInformationTable( const TRunInformationTable& table );
00048 
00049 };
00050 
00051 inline TRunInformationTable& TSoftwareRunInformationModule::GetRunInformationTable()
00052 {
00053   return( theRunInformationTable );
00054 }
00055 
00056 inline const TRunInformationTable& TSoftwareRunInformationModule::GetRunInformationTable() const
00057 {
00058   return( theRunInformationTable );
00059 }
00060 
00061 inline Tvoid TSoftwareRunInformationModule::SetRunInformationTable( const TRunInformationTable& table )
00062 {
00063   theRunInformationTable = table;
00064   theNumberOfChannels = theRunInformationTable.GetNumberOfRows();
00065   return;
00066 }
00067 
00068 #endif

CLDAQ - a Class Library for Data AcQuisition (Version 1.8.0)
Go IWAI <goiwai@users.sourceforge.jp>