DcsInterface.h

00001 #ifndef DCSINTERFACE_H
00002 #define DCSINTERFACE_H
00003 
00004 #include "ConfigurationInterface.h"
00005 #include "SctData/DcsData.h"
00006 #include <string>
00007 #include <map>
00008 #include <boost/shared_ptr.hpp>
00009 
00010 namespace SctAnalysis{
00015   class DcsInterface{
00016   public:
00018     DcsInterface(boost::shared_ptr<ConfigurationInterface> config);
00020     ~DcsInterface();
00022     boost::shared_ptr<SctData::DcsData> getData(const std::string& modulename) const;
00024     const ConfigurationInterface& getConfigurationInterface() const;
00026     void printStatus(std::ostringstream&) const;
00027   private:
00028     boost::shared_ptr<ConfigurationInterface> m_config; 
00029     mutable unsigned m_call_count; 
00030     mutable unsigned m_val_count; 
00031     mutable unsigned m_error_count; 
00032 
00033     DcsInterface();
00034   };
00035 
00036 } //namespace SctAnalysis
00037 
00038 
00039 #endif // DCSINTERFACE_H

Generated on Mon Feb 6 14:01:19 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6