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

TReadoutSpecified.hh

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

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