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

Sct::ISUtilities Class Reference

Utility methods for using with the information service. More...

#include <ISUtilities.h>


Static Public Member Functions

void addOrUpdateOrMessage (std::string &name, ISInfo &info, const std::string &file, int line, severity sev)
 Add a ISInfo to IS, with a name, or if it exists, replace it.

void addNoUpdateOrMessage (std::string &name, ISInfo &info, const std::string &file, int line, severity sev)
 Add a ISInfo to IS, with a name, or if it exists, replace it.

void addOrUpdateOrThrow (std::string &name, ISInfo &info, const std::string &file, int line, severity sev)
 Add a ISInfo to IS, with a name, or if it exists, replace it.

void addNoUpdateOrThrow (std::string &name, ISInfo &info, const std::string &file, int line, severity sev)
 Add a ISInfo to IS, with a name, or if it exists, replace it.


Detailed Description

Utility methods for using with the information service.

Author:
alan.barr@cern.ch

Definition at line 11 of file ISUtilities.h.


Member Function Documentation

void Sct::ISUtilities::addNoUpdateOrMessage std::string &  name,
ISInfo &  info,
const std::string &  file,
int  line,
severity  sev
[static]
 

Add a ISInfo to IS, with a name, or if it exists, replace it.

The arguments file and line should be __FILE__ and __LINE__, so that if the additions is not successful, an IsException with sensible parameters can be thrown. of the severity of the MRS message which will be sent it it fails

Definition at line 36 of file ISUtilities.cpp.

References addNoUpdateOrThrow().

Here is the call graph for this function:

void Sct::ISUtilities::addNoUpdateOrThrow std::string &  name,
ISInfo &  info,
const std::string &  file,
int  line,
severity  sev
[static]
 

Add a ISInfo to IS, with a name, or if it exists, replace it.

The arguments file and line should be __FILE__ and __LINE__, so that if the additions is not successful, an IsException with sensible parameters can be thrown. of the severity of the MRS message which will be sent it it fails

Definition at line 20 of file ISUtilities.cpp.

Referenced by addNoUpdateOrMessage().

void Sct::ISUtilities::addOrUpdateOrMessage std::string &  name,
ISInfo &  info,
const std::string &  file,
int  line,
severity  sev
[static]
 

Add a ISInfo to IS, with a name, or if it exists, replace it.

The arguments file and line should be __FILE__ and __LINE__, so that if the additions is not successful, an IsException with sensible parameters can be thrown. The final arg is optional setting of the severity of the MRS message which will be sent it it fails

Definition at line 28 of file ISUtilities.cpp.

References addOrUpdateOrThrow().

Referenced by SctCalibrationController::Test::publish(), and SctCalibrationController::Sequence::publish().

Here is the call graph for this function:

void Sct::ISUtilities::addOrUpdateOrThrow std::string &  name,
ISInfo &  info,
const std::string &  file,
int  line,
severity  sev
[static]
 

Add a ISInfo to IS, with a name, or if it exists, replace it.

The arguments file and line should be __FILE__ and __LINE__, so that if the additions is not successful, an IsException with sensible parameters can be thrown. The final arg is optional setting of the severity of the MRS message which will be sent it it fails

Definition at line 7 of file ISUtilities.cpp.

Referenced by addOrUpdateOrMessage(), SctArchiving::IsPutCommand::execute(), SctAnalysis::AnalysisAlgorithm::finish(), and SctService::WorkerGroup< T >::reportThreadMain().


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