SctAnalysis::DcsInterface Class Reference

Gets dcs data out of IS. More...

#include <DcsInterface.h>


Public Member Functions

 DcsInterface (boost::shared_ptr< ConfigurationInterface > config)
 shares configuration interface
 ~DcsInterface ()
 destructor
boost::shared_ptr< SctData::DcsDatagetData (const std::string &modulename) const
 get some DcsData for a particular module!
const ConfigurationInterfacegetConfigurationInterface () const
 return ConfigurationInterface
void printStatus (std::ostringstream &) const
 output some basic usage information:

Private Member Functions

 DcsInterface ()
 not allowed

Private Attributes

boost::shared_ptr< ConfigurationInterfacem_config
 keeps itself up-to-date
unsigned m_call_count
 counts calls asked of it
unsigned m_val_count
 counts values returned
unsigned m_error_count
 counts values returned


Detailed Description

Gets dcs data out of IS.

Default is to keep its own configuration interface, but one can also be shared.

Definition at line 15 of file DcsInterface.h.


Constructor & Destructor Documentation

SctAnalysis::DcsInterface::DcsInterface boost::shared_ptr< ConfigurationInterface config  ) 
 

shares configuration interface

Definition at line 20 of file DcsInterface.cpp.

SctAnalysis::DcsInterface::~DcsInterface  ) 
 

destructor

Definition at line 25 of file DcsInterface.cpp.

SctAnalysis::DcsInterface::DcsInterface  )  [private]
 

not allowed

Definition at line 18 of file DcsInterface.cpp.


Member Function Documentation

const ConfigurationInterface & SctAnalysis::DcsInterface::getConfigurationInterface  )  const
 

return ConfigurationInterface

Definition at line 28 of file DcsInterface.cpp.

References m_config.

boost::shared_ptr< SctData::DcsData > SctAnalysis::DcsInterface::getData const std::string &  modulename  )  const
 

get some DcsData for a particular module!

Definition at line 51 of file DcsInterface.cpp.

References m_call_count, and m_config.

void SctAnalysis::DcsInterface::printStatus std::ostringstream &   )  const
 

output some basic usage information:

Definition at line 33 of file DcsInterface.cpp.

References m_call_count, m_config, m_error_count, and m_val_count.

Referenced by SctAnalysis::AnalysisService::status().


Field Documentation

unsigned SctAnalysis::DcsInterface::m_call_count [mutable, private]
 

counts calls asked of it

Definition at line 29 of file DcsInterface.h.

Referenced by getData(), and printStatus().

boost::shared_ptr<ConfigurationInterface> SctAnalysis::DcsInterface::m_config [private]
 

keeps itself up-to-date

Definition at line 28 of file DcsInterface.h.

Referenced by getConfigurationInterface(), getData(), and printStatus().

unsigned SctAnalysis::DcsInterface::m_error_count [mutable, private]
 

counts values returned

Definition at line 31 of file DcsInterface.h.

Referenced by printStatus().

unsigned SctAnalysis::DcsInterface::m_val_count [mutable, private]
 

counts values returned

Definition at line 30 of file DcsInterface.h.

Referenced by printStatus().


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:03:48 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6