//-------------------------------------------------------------------------- // File and Version Information: // $Id: BdbConfigModule.hh,v 1.1 1998/01/27 08:45:37 yury Exp $ // // Description: // Class BdbConfigModule // // This class opens and provides information about the configuration // database. // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory. // // Author List: // Stephen J. Gowdy Originator (BdbCondModule) // Yury Kolomensky Clone // // Copyright Information: // Copyright (C) 1997 Univeristy of Edinburgh // Copyright (C) 1998 Caltech // //------------------------------------------------------------------------ #ifndef BDBCONFIGMODULE_HH #define BDBCONFIGMODULE_HH //------------- // C Headers -- //------------- extern "C" { } //--------------- // C++ Headers -- //--------------- //---------------------- // Base Class Headers -- //---------------------- #include "Framework/APPModule.hh" //------------------------------- // Collaborating Class Headers -- //------------------------------- //------------------------------------ // Collaborating Class Declarations -- //------------------------------------ class AbsParmIfdStrKey; template class AbsParmGeneral; // --------------------- // -- Class Interface -- // --------------------- class BdbConfigModule : public AppModule { //-------------------- // Declarations -- //-------------------- // Typedefs, consts, and enums //-------------------- // Instance Members -- //-------------------- public: // Constructors BdbConfigModule( const char* const theName="BdbConfigModule", const char* const theDescription="Configuration database module" ); // Destructor virtual ~BdbConfigModule(); // Methods virtual void begin( AppJob* aJob ); virtual void begin( AppRun* aRun ); virtual AbsEvent* event( AbsEvent* anEvent, int mode = 0 ); virtual void other( AbsEvent* anOther ); virtual void end ( AppRun* aRun ); virtual void end ( AppJob* aJob ); virtual void abort( AppJob* aJob ); virtual void help (); // Operators // Modifiers protected: // Helper functions private: // Friends // Data members //------------------ // Static Members -- //------------------ public: // Selectors (const) // Modifiers private: // Data members AbsParmGeneral* _configKey; AbsParmIfdStrKey* _secondaryKey; // Copy Constructor BdbConfigModule( const BdbConfigModule& otherCond ); }; #endif