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

SctCalibrationController::ConfigUpdater Class Reference

Algorithm interface for updating the module configuration after the result of a test (TestResult) becomes available. More...

#include <ConfigUpdater.h>

Inheritance diagram for SctCalibrationController::ConfigUpdater:

noncopyable SctCalibrationController::NPtGainConfigUpdater SctCalibrationController::StrobeDelayConfigUpdater SctCalibrationController::TrimRangeConfigUpdater

Public Member Functions

virtual void update (const SctData::TestResult &t) const=0

Protected Member Functions

 ConfigUpdater ()
virtual ~ConfigUpdater ()
unsigned long getMID (const SctData::TestResult &t) const

Detailed Description

Algorithm interface for updating the module configuration after the result of a test (TestResult) becomes available.

Concrete sub-classes must impliment the update() method. Applies changes via the IPC interface of the SctApi.

Definition at line 15 of file ConfigUpdater.h.


Constructor & Destructor Documentation

SctCalibrationController::ConfigUpdater::ConfigUpdater   [inline, protected]
 

Definition at line 19 of file ConfigUpdater.h.

virtual SctCalibrationController::ConfigUpdater::~ConfigUpdater   [inline, protected, virtual]
 

Definition at line 20 of file ConfigUpdater.h.


Member Function Documentation

unsigned long SctCalibrationController::ConfigUpdater::getMID const SctData::TestResult   t const [protected]
 

Todo:
remove the nasty const_cast below when proper CORBA implementation arrives.

Definition at line 17 of file ConfigUpdater.cpp.

References SctData::TestResult::getModuleName().

Referenced by SctCalibrationController::NPtGainConfigUpdater::update(), SctCalibrationController::TrimRangeConfigUpdater::update(), and SctCalibrationController::StrobeDelayConfigUpdater::update().

virtual void SctCalibrationController::ConfigUpdater::update const SctData::TestResult   t const [pure virtual]
 

Implemented in SctCalibrationController::StrobeDelayConfigUpdater, SctCalibrationController::NPtGainConfigUpdater, and SctCalibrationController::TrimRangeConfigUpdater.

Referenced by SctCalibrationController::ConfigUpdaterManager::update().


The documentation for this class was generated from the following files:
Generated on Mon Dec 15 19:37:32 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3