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

TReadoutSpecified.hh

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


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