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

TReadoutBook.hh

解説を見る。
00001 // =====================================================================
00002 //  $Id: TReadoutBook.hh,v 1.1.1.1 2003/06/27 02:56:42 goiwai Exp $
00003 //  $Name: CLDAQ-1-06-02 $
00004 // =====================================================================
00005 #ifndef __TREADOUTBOOK_HH
00006 #define __TREADOUTBOOK_HH
00007 
00008 #include "Tglobals.h"
00009 #include "TReadoutIndex.hh"
00010 
00011 class TReadoutList;
00012 class TDataRecord;
00013 
00014 class TReadoutBook
00015 {
00016 
00017   private:
00018     TReadoutIndex theReadoutIndex;
00019 
00020   public:
00021     TReadoutBook();
00022     ~TReadoutBook();
00023 
00024   public:
00025     const TReadoutIndex& GetReadoutIndex() const;
00026     TReadoutIndex& GetReadoutIndex();
00027     Tvoid SetReadoutIndex( const TReadoutIndex& index );
00028 
00029   public:
00030     Tint AddReadoutList( TReadoutList* readoutlist );
00031     Tint RemoveReadoutList( Tint index );
00032     Tint RemoveReadoutList( const Tstring& id );
00033     Tvoid ClearReadoutBook();
00034     TReadoutList* FindReadoutList( const Tstring& id );
00035     TReadoutList* GetReadoutList( Tint index );
00036     TReadoutList* GetReadoutList( const Tstring& id );
00037     TDataRecord Read( const Tstring& id );
00038 
00039 };
00040 
00041 inline const TReadoutIndex& TReadoutBook::GetReadoutIndex() const
00042 {
00043   return( theReadoutIndex );
00044 }
00045 
00046 inline TReadoutIndex& TReadoutBook::GetReadoutIndex()
00047 {
00048   return( theReadoutIndex );
00049 }
00050 
00051 inline Tvoid TReadoutBook::SetReadoutIndex( const TReadoutIndex& index )
00052 {
00053   theReadoutIndex = index;
00054   return;
00055 }
00056 
00057 #endif

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