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

TReadoutSpecified.hh

解説を見る。
00001 // =====================================================================
00024 // =====================================================================
00025 #ifndef CLDAQ__TREADOUTSPECIFIED_HH
00026 #define CLDAQ__TREADOUTSPECIFIED_HH
00027 
00028 #include "Tglobals.h"
00029 
00030 class TReadoutList;
00031 
00032 
00052 class TReadoutSpecified
00053 {
00054 
00055   private:
00056     Tstring theListID;
00057     TReadoutList* theReadoutList;
00058 
00059   public:
00060     TReadoutSpecified();
00061     TReadoutSpecified( const Tstring& id, TReadoutList* list );
00062     TReadoutSpecified( const TReadoutSpecified& right );
00063     ~TReadoutSpecified();
00064 
00065   public:
00066     const TReadoutSpecified& operator=( const TReadoutSpecified& right );
00067     Tbool operator==( const TReadoutSpecified& right ) const;
00068     Tbool operator!=( const TReadoutSpecified& right ) const;
00069     friend Tostream& operator<<( Tostream& tos, const TReadoutSpecified& right );
00070 
00071   public:
00072     const Tstring& GetListID() const;
00073     Tstring& GetListID();
00074     TReadoutList* GetReadoutList() const;
00075     Tvoid SetListID( const Tstring& id );
00076     Tvoid SetReadoutList( TReadoutList* list );
00077 
00078 };
00079 
00080 inline const Tstring& TReadoutSpecified::GetListID() const
00081 {
00082   return theListID;
00083 }
00084 
00085 inline Tstring& TReadoutSpecified::GetListID()
00086 {
00087   return theListID;
00088 }
00089 
00090 inline TReadoutList* TReadoutSpecified::GetReadoutList() const
00091 {
00092   return theReadoutList;
00093 }
00094 
00095 inline Tvoid TReadoutSpecified::SetListID( const Tstring& id )
00096 {
00097   theListID = id;
00098   return;
00099 }
00100 
00101 inline Tvoid TReadoutSpecified::SetReadoutList( TReadoutList* list )
00102 {
00103   theReadoutList = list;
00104   return;
00105 }
00106 
00107 #endif

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