Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

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 16 of file DcsInterface.cpp.

SctAnalysis::DcsInterface::~DcsInterface  ) 
 

destructor

Definition at line 21 of file DcsInterface.cpp.

SctAnalysis::DcsInterface::DcsInterface  )  [private]
 

not allowed

Definition at line 14 of file DcsInterface.cpp.


Member Function Documentation

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

return ConfigurationInterface

Definition at line 24 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 47 of file DcsInterface.cpp.

References Sct::SctNames::getDcsServerName(), m_call_count, m_config, m_error_count, and m_val_count.

Here is the call graph for this function:

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

output some basic usage information:

Definition at line 29 of file DcsInterface.cpp.

References m_call_count, m_config, m_error_count, and m_val_count.


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 getData(), and printStatus().

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

counts values returned

Definition at line 30 of file DcsInterface.h.

Referenced by getData(), and printStatus().


The documentation for this class was generated from the following files:
Generated on Fri Sep 16 18:02:42 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5