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

TAnalysisStatusTable.hh

解説を見る。
00001 // =====================================================================
00002 //  $Id: TAnalysisStatusTable.hh,v 1.1.1.1 2003/06/27 02:56:41 goiwai Exp $
00003 //  $Name: CLDAQ-1-06-00 $
00004 // =====================================================================
00005 #ifndef __TANALYSISSTATUSTABLE_HH
00006 #define __TANALYSISSTATUSTABLE_HH
00007 
00008 #include "Tglobals.h"
00009 #include "TAnalysisStatus.hh"
00010 
00011 typedef Tvector<TAnalysisStatus> TAnalysisStatusList;
00012 
00013 class TAnalysisStatusTable
00014   : TAnalysisStatusList
00015 {
00016 
00017   public:
00018     enum { tNotFound = -1 };
00019 
00020   public:
00021     TAnalysisStatusTable();
00022     ~TAnalysisStatusTable();
00023 
00024   public:
00025     friend Tostream& operator<<( Tostream& tos, const TAnalysisStatusTable& right );
00026 
00027   public:
00028     Tvoid AddAnalysisStatus( const TAnalysisStatus& status );
00029     Tvoid RemoveAnalysisStatus( const Tstring& id );
00030     Tint FindAnalysisStatus( const Tstring& id ) const;
00031     Tvoid Clear();
00032     Tstatus_t GetStatus( const Tstring& id ) const;
00033     Tvoid SetStatus( const Tstring& id, Tstatus_t status );
00034     Tobject_t GetObjectType( const Tstring& id ) const;
00035     Tstring GetID( const Tstring& id ) const;
00036     Tstring GetDrawableObjectID( const Tstring& id ) const;
00037     Tstring GetCanvasID( const Tstring& id ) const;
00038     Tthread_t* GetThreadID( const Tstring& id );
00039     Tvoid SetThreadID( const Tstring& id, Tthread_t thread );
00040     Tbool HasStatus( const Tstring& id ) const;
00041 
00042 };
00043 
00044 #endif

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