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

TReadoutSpecified.hh

解説を見る。
00001 // =====================================================================
00002 //  $Id: TReadoutSpecified.hh,v 1.1.1.1 2003/06/27 02:56:42 goiwai Exp $
00003 //  $Name: CLDAQ-1-06-02 $
00004 // =====================================================================
00005 #ifndef __TREADOUTSPECIFIED_HH
00006 #define __TREADOUTSPECIFIED_HH
00007 
00008 #include "Tglobals.h"
00009 
00010 class TReadoutList;
00011 
00012 class TReadoutSpecified
00013 {
00014 
00015   private:
00016     Tstring theListID;
00017     TReadoutList* theReadoutList;
00018 
00019   public:
00020     TReadoutSpecified();
00021     TReadoutSpecified( const Tstring& id, TReadoutList* list );
00022     TReadoutSpecified( const TReadoutSpecified& right );
00023     ~TReadoutSpecified();
00024 
00025   public:
00026     const TReadoutSpecified& operator=( const TReadoutSpecified& right );
00027     Tbool operator==( const TReadoutSpecified& right ) const;
00028     Tbool operator!=( const TReadoutSpecified& right ) const;
00029     friend Tostream& operator<<( Tostream& tos, const TReadoutSpecified& right );
00030 
00031   public:
00032     const Tstring& GetListID() const;
00033     Tstring& GetListID();
00034     TReadoutList* GetReadoutList() const;
00035     Tvoid SetListID( const Tstring& id );
00036     Tvoid SetReadoutList( TReadoutList* list );
00037 
00038 };
00039 
00040 inline const Tstring& TReadoutSpecified::GetListID() const
00041 {
00042   return( theListID );
00043 }
00044 
00045 inline Tstring& TReadoutSpecified::GetListID()
00046 {
00047   return( theListID );
00048 }
00049 
00050 inline TReadoutList* TReadoutSpecified::GetReadoutList() const
00051 {
00052   return( theReadoutList );
00053 }
00054 
00055 inline Tvoid TReadoutSpecified::SetListID( const Tstring& id )
00056 {
00057   theListID = id;
00058   return;
00059 }
00060 
00061 inline Tvoid TReadoutSpecified::SetReadoutList( TReadoutList* list )
00062 {
00063   theReadoutList = list;
00064   return;
00065 }
00066 
00067 #endif

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