#include <ConfigUpdater.h>
Inheritance diagram for SctCalibrationController::ConfigUpdater:
Public Member Functions | ||||
virtual void | update (const SctData::TestResult &t, Sct_SctApi::SctApiIPC_ptr api) const =0 | |||
Sub-classes should override this to apply changes to a module configuration as a result of a Test. | ||||
Protected Member Functions | ||||
ConfigUpdater () | ||||
virtual | ~ConfigUpdater () | |||
unsigned long | getMID (const SctData::TestResult &t, Sct_SctApi::SctApiIPC_ptr api) const | |||
Gets the module id for a TestResult
| ||||
void | maskChannels (const SctData::TestResult &t, SctData::DefectSeverity s, Sct_SctApi::SctApiIPC_ptr api) const | |||
Masks all channels with a severity >= s
| ||||
Private Member Functions | ||||
void | maskChannels (SctData::ModuleConfiguration &config, SctData::ModuleElement element) const | |||
Masks all the channels in element. |
Concrete sub-classes must impliment the update() method. Applies changes via the IPC interface of the SctApi.
Definition at line 23 of file ConfigUpdater.h.
|
Gets the module id for a TestResult
Definition at line 17 of file ConfigUpdater.cpp. References SctData::TestResult::getModuleName(). Referenced by SctCalibrationController::TxCurrentConfigUpdater::update(), SctCalibrationController::TrimRangeConfigUpdater::update(), SctCalibrationController::StrobeDelayConfigUpdater::update(), SctCalibrationController::RxThresholdConfigUpdater::update(), SctCalibrationController::RxThresholdBasedOnConfigRegisterConfigUpdater::update(), SctCalibrationController::RxDelayConfigUpdater::update(), SctCalibrationController::NPtGainConfigUpdater::update(), and SctCalibrationController::MarkSpaceRatioConfigUpdater::update(). Here is the call graph for this function: ![]() |
|
Masks all the channels in element.
Definition at line 47 of file ConfigUpdater.cpp. References Sct::nChannelChip. |
|
Masks all channels with a severity >= s
Definition at line 23 of file ConfigUpdater.cpp. References SctData::DefectList::getAllDefects(), SctData::ModuleConfiguration::getChipConfiguration(), SctData::TestResult::getDefects(), Sct::nChipModule, and SctData::ChipConfiguration::resetMask(). Referenced by SctCalibrationController::PipelineConfigUpdater::update(), and SctCalibrationController::NPtGainConfigUpdater::update(). Here is the call graph for this function: ![]() |
|
Sub-classes should override this to apply changes to a module configuration as a result of a Test.
Implemented in SctCalibrationController::MarkSpaceRatioConfigUpdater, SctCalibrationController::NPtGainConfigUpdater, SctCalibrationController::PipelineConfigUpdater, SctCalibrationController::RxDelayConfigUpdater, SctCalibrationController::RxThresholdBasedOnConfigRegisterConfigUpdater, SctCalibrationController::RxThresholdConfigUpdater, SctCalibrationController::StrobeDelayConfigUpdater, SctCalibrationController::TrimRangeConfigUpdater, and SctCalibrationController::TxCurrentConfigUpdater. |