00001 // ===================================================================== 00028 // ===================================================================== 00029 #ifndef CLDAQ__TMODULETABLE_HH 00030 #define CLDAQ__TMODULETABLE_HH 00031 00032 #include "Tglobals.h" 00033 #include "TModuleSpecified.hh" 00034 00035 00055 class TModuleTable 00056 : public Tvector<TModuleSpecified> 00057 { 00058 00059 public: 00060 TModuleTable(); 00061 ~TModuleTable(); 00062 00063 public: 00064 TModule* FindModule( const Tstring& id ) const; 00065 Tvoid AddModule( TModule* module, const Tstring& id, const TstringList& groups ); 00066 Tvoid RemoveModule( Tint index ); 00067 Tint GetSize() const; 00068 Tvoid Clear(); 00069 00070 #ifdef __CLDAQ_ROOT_DLL 00071 ClassDef(TModuleTable,0) 00072 #endif 00073 00074 }; 00075 00076 #endif