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

TReadoutBook.hh

解説を見る。
00001 // =====================================================================
00021 // =====================================================================
00022 #ifndef __TREADOUTBOOK_HH
00023 #define __TREADOUTBOOK_HH
00024 
00025 #include "Tglobals.h"
00026 #include "TReadoutIndex.hh"
00027 
00028 class TReadoutList;
00029 class TDataRecord;
00030 
00031 
00051 class TReadoutBook
00052 {
00053 
00054   private:
00055     TReadoutIndex theReadoutIndex;
00056 
00057   public:
00058     TReadoutBook();
00059     ~TReadoutBook();
00060 
00061   public:
00062     const TReadoutIndex& GetReadoutIndex() const;
00063     TReadoutIndex& GetReadoutIndex();
00064     Tvoid SetReadoutIndex( const TReadoutIndex& index );
00065 
00066   public:
00067     Tint AddReadoutList( TReadoutList* readoutlist );
00068     Tint RemoveReadoutList( Tint index );
00069     Tint RemoveReadoutList( const Tstring& id );
00070     Tvoid ClearReadoutBook();
00071     TReadoutList* FindReadoutList( const Tstring& id );
00072     TReadoutList* GetReadoutList( Tint index );
00073     TReadoutList* GetReadoutList( const Tstring& id );
00074     TDataRecord Read( const Tstring& id );
00075 
00076 };
00077 
00078 inline const TReadoutIndex& TReadoutBook::GetReadoutIndex() const
00079 {
00080   return theReadoutIndex;
00081 }
00082 
00083 inline TReadoutIndex& TReadoutBook::GetReadoutIndex()
00084 {
00085   return theReadoutIndex;
00086 }
00087 
00088 inline Tvoid TReadoutBook::SetReadoutIndex( const TReadoutIndex& index )
00089 {
00090   theReadoutIndex = index;
00091   return;
00092 }
00093 
00094 #endif

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