ICP
1
|
#include <DAEstatus.h>
Public Member Functions | |
DAEstatus () | |
~DAEstatus () | |
int | severity () |
bool | OK () |
int | result () |
int | size () |
bool | operator== (int severity) const |
bool | operator!= (int severity) const |
bool | operator<= (int severity) const |
bool | operator>= (int severity) const |
int | add (DAEstatus &dstatus, bool clear) |
int | add (const DAEstatus_message &mess) |
int | add (int facility, int severity, int errtype, const std::string &text) |
int | addVa (int facility, int severity, int errtype, const char *format,...) |
int | addInfo (int facility, const std::string &text) |
int | addInfoVa (int facility, const char *format,...) |
int | addWarning (int facility, const std::string &text) |
int | addWarningVa (int facility, const char *format,...) |
int | addDebug (int facility, const std::string &text) |
int | addDebugVa (int facility, const char *format,...) |
void | reportImmediately (bool value) |
bool | check (int severity, int direction) const |
int | clear (int severity, int direction, bool reset_overall_severity=true) |
int | clearAll (bool reset_overall_severity=true) |
int | report (int severity, int direction, bool reset_overall_severity=true, bool remove_messages=true) |
int | report (std::ostream &str, int severity, int direction, bool reset_overall_severity=true, bool remove_messages=true) |
int | report (DAEreport_func_t *report_func, void *report_arg, int severity, int direction, bool reset_overall_severity=true, bool remove_messages=true) |
int | reportAll (bool reset_overall_severity=true, bool remove_messages=true) |
int | reportAll (std::ostream &str, bool reset_overall_severity=true, bool remove_messages=true) |
int | reportAll (DAEreport_func_t *report_func, void *report_arg, bool reset_overall_severity=true, bool remove_messages=true) |
int | resetSeverityToAtMost (int severity) |
int | resetSeverityToAtLeast (int severity) |
std::ostream & | print (std::ostream &str) |
int | setReportFunction (DAEreport_func_t *report_func, void *arg) |
int | setReportCopyFunction (DAEreport_func_t *report_func, void *arg) |
Static Public Member Functions | |
static int | ostreamReportFunction (const DAEstatus_message &mess, void *arg) |
Static Public Attributes | |
static const int | Success = 0 |
static const int | Failure = 1 |
Protected Member Functions | |
int | addVaMain (int facility, int severity, int errtype, const char *format, va_list ap) |
int | recalculateSeverity () |
Private Types | |
typedef std::list < DAEstatus_message > | status_list_t |
Private Member Functions | |
DAEstatus (const DAEstatus &) | |
void | operator= (const DAEstatus &) |
Private Attributes | |
status_list_t | m_status_list |
int | m_severity |
DAEreport_func_t * | m_report_func |
void * | m_report_func_arg |
DAEreport_func_t * | m_report_copy_func |
void * | m_report_copy_func_arg |
bool | m_report_immediately |
CRITICAL_SECTION | m_critical |
Definition at line 121 of file DAEstatus.h.
|
private |
Definition at line 124 of file DAEstatus.h.
|
inlineprivate |
Definition at line 134 of file DAEstatus.h.
DAEstatus::DAEstatus | ( | ) |
Definition at line 6 of file DAEstatus.cpp.
References m_critical, m_report_copy_func, m_report_copy_func_arg, m_report_func, m_report_func_arg, m_report_immediately, m_severity, ostreamReportFunction(), and SEV_OK.
DAEstatus::~DAEstatus | ( | ) |
Definition at line 17 of file DAEstatus.cpp.
References m_critical.
int DAEstatus::add | ( | DAEstatus & | dstatus, |
bool | clear | ||
) |
Definition at line 131 of file DAEstatus.cpp.
References clearAll(), m_critical, m_status_list, Success, and ICPCritical::unlock().
Referenced by ISISinstrumentControl::abortRun(), add(), addDebug(), NIVisa::addError(), addInfo(), addVaMain(), addWarning(), ISISinstrumentControl::beginRunMainEx(), byte_rel_comp(), byte_rel_expn(), Cdae::callICP(), ISISinstrumentControl::changeNumberOfSoftwarePeriods(), ISISinstrumentControl::changePeriod(), DetectorCard< DetCardPolicy >::changePeriod(), ISISinstrumentControl::changeUpdateSettingsXML(), Cdae::checkTestPattern(), ISISDAE::checkTestPatternAsync(), DetectorCard< DetCardPolicy >::DetectorCard(), Cdae::dumpDebugInfo(), EnvironmentCard< EnvPeriodPolicy >::enableFChopperVeto(), EnvPeriodCard< EnvPeriodPolicy >::enableFChopperVeto(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::endRunTask(), ISISinstrumentControl::exitProgram(), Cdae::fillWithTestPattern(), Cdae::getArrayValue(), DetectorCard< DetCardPolicy >::getCurrentHardwarePeriod(), ISISinstrumentControl::getOptions(), Cdae::getRunNumber(), Cdae::getRunState(), Cdae::getsect(), Cdae::getSpectraIntegral2(), Cdae::getSpectraIntegralHelper(), Cdae::getSpectraSum(), Cdae::getSpectrum(), Cdae::getSpectrumIntegral(), ISISinstrumentControl::getTCBXML(), Cdae::getValue(), ISISCRPT_DATA::load(), CRPTProxy::loadCRPT(), DetectorCard< DetCardPolicy >::loadDAE2SpecmapFromArray(), ISISinstrumentControl::loadDAEWithData(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISCRPT_DATA::loadOrCreate(), CRPTProxy::loadOrCreateCRPT(), ISISDAE::locateCards(), Cdae::makeResult(), md5sumString(), ISISDAE::open(), ISISinstrumentControl::pauseRunMain(), MuonDetectorCard::programDAE1POSLUT(), DetectorCard< DetCardPolicy >::programDAE1POSLUT(), Cdae::quit(), DetectorCard< DetCardPolicy >::readAllDAE1Spectra(), DetectorCard< DetCardPolicy >::readDAE1Spectra(), ISISDAE::readHistogramMemory(), DetectorCard< DetCardPolicy >::readHistogramMemory(), QxtrmInterface::readUimpl(), DetectorCard< DetCardPolicy >::recreateDAE1Specmap(), ISISinstrumentControl::refreshCachedValues(), NIVisa::reinit(), NIVisa::resetBusDevice(), ISISinstrumentControl::resumeRun(), Cdae::rio(), DetectorCard< DetCardPolicy >::saveDAE2SpecmapToArray(), NIVisa::scanBus(), sendEmail(), sendSMSMain(), EnvironmentCard< EnvPeriodPolicy >::setFrameSyncDelay(), DetectorCard< DetCardPolicy >::setFrameSyncDelay(), EnvPeriodCard< EnvPeriodPolicy >::setFrameSyncDelay(), Cdae::setICPValueLong(), LabviewXML::setISO8859Encoding(), ISISinstrumentControl::setOptions(), DetectorCard< DetCardPolicy >::setPeriodCounter(), EnvPeriodCard< EnvPeriodPolicy >::setPeriodOutputDelay(), DetectorCard< DetCardPolicy >::setPeriodSize(), DetectorCard< DetCardPolicy >::setPeriodType(), ISISinstrumentControl::setupDAE(), ISISDAE::setVeto(), VMESimulation< DAEPolicy >::simulateRead(), VMESimulation< DAEPolicy >::simulateWrite(), ISISinstrumentControl::stringTableToParameterMap(), Cdae::sumAllHistogramMemory(), Cdae::sumAllSpectra(), DetectorCard< DetCardPolicy >::sumHistogramMemory(), ISISinstrumentControl::updateCRPTWithDAE(), ISISinstrumentControl::updateDAEsettingsXML(), ISISinstrumentControl::updateHardwarePeriodsXML(), ISISinstrumentControl::updateMonitoringXML(), ISISinstrumentControl::updateStatusXML(), ISISinstrumentControl::updateTCBXML(), Cdae::VMEReadArray(), Cdae::VMEReadValue(), Cdae::VMEReadValuesToString(), VMESimulation< DAEPolicy >::VMESimulation(), Cdae::VMEWriteArray(), Cdae::VMEWriteValue(), DetectorCard< DetCardPolicy >::writeHistogramMemory(), and QxtrmInterface::writeUimpl().
int DAEstatus::add | ( | const DAEstatus_message & | mess | ) |
Definition at line 27 of file DAEstatus.cpp.
References m_critical, m_report_copy_func, m_report_copy_func_arg, m_report_immediately, DAEstatus_message::m_severity, m_severity, m_status_list, reportAll(), and severity().
int DAEstatus::add | ( | int | facility, |
int | severity, | ||
int | errtype, | ||
const std::string & | text | ||
) |
Definition at line 22 of file DAEstatus.cpp.
References add().
int DAEstatus::addDebug | ( | int | facility, |
const std::string & | text | ||
) |
Definition at line 116 of file DAEstatus.cpp.
References add(), ERRTYPE_NONE, and SEV_DEBUG.
int DAEstatus::addDebugVa | ( | int | facility, |
const char * | format, | ||
... | |||
) |
Definition at line 121 of file DAEstatus.cpp.
References addVaMain(), ERRTYPE_NONE, and SEV_DEBUG.
Referenced by MuonDetectorCard::setTimeChannels().
int DAEstatus::addInfo | ( | int | facility, |
const std::string & | text | ||
) |
Definition at line 86 of file DAEstatus.cpp.
References add(), ERRTYPE_NONE, and SEV_INFO.
Referenced by byte_rel_expn(), VMESimulation< DAEPolicy >::close(), DetectorCard< DetCardPolicy >::DetectorCard(), Cdae::dumpDebugInfo(), ISISDAE::enableDelayedStart(), EnvironmentCard< EnvPeriodPolicy >::EnvironmentCard(), EnvPeriodCard< EnvPeriodPolicy >::EnvPeriodCard(), ICPTimer::info(), ISISinstrumentControl::ISISinstrumentControl(), ISISinstrumentControl::loadDAEWithData(), ISISinstrumentControl::loadDAEWithNeXusData(), ISISDAE::locateCards(), ICPFileChannel::log(), Cdae::makeResult(), MuonDetectorCard::MuonDetectorCard(), NIVisa::open(), ISISDAE::open(), NIVisa::openBackplane(), PeriodCard::PeriodCard(), ISISDSRequest::processCommand(), MuonDetectorCard::programDAE1POSLUT(), DetectorCard< DetCardPolicy >::programDAE1POSLUT(), ISISDAE::programPeriodCard(), DetectorCard< DetCardPolicy >::programPOSLUT(), MuonDetectorCard::readPOSLUT(), DetectorCard< DetCardPolicy >::readPOSLUT(), DetectorCard< DetCardPolicy >::recreateDAE1Specmap(), NIVisa::reinit(), NIVisa::resetBus(), VMESimulation< DAEPolicy >::resetBus(), ClearHistogramMemoryTask::runTask(), ISISinstrumentControl::saveRun(), NIVisa::scanBus(), VMESimulation< DAEPolicy >::scanBus(), sendSMSMain(), ISISDAE::setDAE1Vetos(), ISISDAE::setPeriodType(), ISISinstrumentControl::setupDAE(), ISISDAE::stopRun(), CRPTProxy::unloadCRPT(), ISISDAE::updateAddmap(), ISISinstrumentControl::updateHardwarePeriodsXML(), EnvPeriodCard< EnvPeriodPolicy >::updateOptions(), ISISinstrumentControl::updateTCBXML(), and VMESimulation< DAEPolicy >::VMESimulation().
int DAEstatus::addInfoVa | ( | int | facility, |
const char * | format, | ||
... | |||
) |
Definition at line 91 of file DAEstatus.cpp.
References addVaMain(), ERRTYPE_NONE, and SEV_INFO.
Referenced by ISISinstrumentControl::abortRun(), ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::changePeriod(), DetectorCard< DetCardPolicy >::checkTestPattern(), compareBuffers(), EventStore::deleteOutputFile(), EnvironmentCard< EnvPeriodPolicy >::enableFChopperVeto(), EnvPeriodCard< EnvPeriodPolicy >::enableFChopperVeto(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::endRunTask(), DetectorCard< DetCardPolicy >::fillAddmap(), ISISDAE::fillWithTestPattern(), ISISinstrumentControl::getCurrentPeriodNumber(), ISISinstrumentControl::getSE(), ISISinstrumentControl::ISISinstrumentControl(), ISISCRPT_DATA::loadOrCreate(), CRPTProxy::loadOrCreateCRPT(), ISISinstrumentControl::logEvent(), NIVisa::open(), VMESimulation< DAEPolicy >::open(), ISISDAE::open(), VMESimulation< DAEPolicy >::openBackplane(), ISISDAE::openBackplane(), ISISinstrumentControl::pauseRunMain(), printComputerMemoryStats(), DetectorCard< DetCardPolicy >::programDAE1POSLUT(), DetectorCard< DetCardPolicy >::programDAE1POSLUTDataDae(), ISISDAE::readAllDAE1Spectra(), ISISDAE::readDAE1Spectra(), DetectorCard< DetCardPolicy >::readDAE1Spectrum(), ISISinstrumentControl::readDataDaeTable(), ISISinstrumentControl::readDetectorTable(), ISISinstrumentControl::readSpectraTable(), DetectorCard< DetCardPolicy >::readSpectrum(), ISISinstrumentControl::readWiringTable(), ISISinstrumentControl::rerunFailedEnds(), ISISinstrumentControl::resumeRun(), ClearHistogramMemoryTask::runTask(), ISISinstrumentControl::saveCRPTToFile(), sendEmail(), sendSMS(), ISISDAE::setDAE1Vetos(), ISISinstrumentControl::setRunStatusImp(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::spawnCommand(), ISISinstrumentControl::stopDataCollection(), DetectorCard< DetCardPolicy >::sumHistogramMemory(), EnvPeriodCard< EnvPeriodPolicy >::syncFrameTimer(), ISISinstrumentControl::tcbcalc(), CRPTProxy::unloadCRPT(), ISISinstrumentControl::updateCRPTWithDAE(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateHardwarePeriodsXML(), ISISinstrumentControl::updateICPTimeDiffLog(), ISISinstrumentControl::updateMonitoringLog(), ISISinstrumentControl::updateMonitoringXML(), ISISinstrumentControl::updateStatusLog(), ISISDAE::VMEWriteValue(), NeXusWriter::writeISISNeXus(), DAE2Card< EnvPeriodPolicy >::writeMemory(), NeXusWriter::writeMuonFile(), and ISISinstrumentControl::~ISISinstrumentControl().
int DAEstatus::addVa | ( | int | facility, |
int | severity, | ||
int | errtype, | ||
const char * | format, | ||
... | |||
) |
Definition at line 54 of file DAEstatus.cpp.
References addVaMain().
Referenced by ISISinstrumentControl::beginRunMainEx(), MuonDetectorCard::calculateModuleAndPosition(), MuonDetectorCard::calculateSpectrum(), Cdae::callICP(), DetectorCard< DetCardPolicy >::changeNumberOfPeriods(), ISISinstrumentControl::changeNumberOfSoftwarePeriods(), MuonDetectorCard::changePeriod(), ISISinstrumentControl::changePeriod(), DetectorCard< DetCardPolicy >::changePeriod(), ISISDAE::check(), DetectorCard< DetCardPolicy >::checkTestPattern(), MuonDetectorCard::clockPulsesToMuonStepSize(), ISISinstrumentControl::endRunTask(), ISISinstrumentControl::evaluateExpression(), DetectorCard< DetCardPolicy >::fillAddmap(), CRPTProxy::flushSection(), Cdae::getArrayValueMain(), ISISDAE::getDCFrameSyncDelay(), ISISinstrumentControl::getFramesAllPeriods(), EnvPeriodCard< EnvPeriodPolicy >::getFrameSync(), ISISinstrumentControl::getMonitorIntegral(), MuonDetectorCard::getTimeChannels(), ISISinstrumentControl::getUAmpHAllPeriods(), LabviewXML::getValue(), Cdae::getValueMain(), ISISCRPT_DATA::load(), CRPTProxy::loadCRPT(), ISISinstrumentControl::loadDAEWithNeXusData(), LabviewXML::loadFromFile(), LabviewXML::loadFromString(), ISISCRPT_DATA::loadOrCreate(), CRPTProxy::loadOrCreateCRPT(), ISISinstrumentControl::notifyICP(), nxErrorFunc(), LabviewXML::processElements(), MuonDetectorCard::programDAE1POSLUT(), DetectorCard< DetCardPolicy >::programDAE1POSLUT(), ISISDAE::programDAE1POSLUT(), MuonDetectorCard::programPOSLUT(), DetectorCard< DetCardPolicy >::programPOSLUT(), ISISinstrumentControl::RCretry(), ISISinstrumentControl::readDataDaeTable(), ISISinstrumentControl::readDetectorTable(), ISISinstrumentControl::readISISRAW(), ISISinstrumentControl::readSpectraTable(), ISISinstrumentControl::readWiringTable(), ISISinstrumentControl::RIO(), ISISDAE::setDCCardMode(), ISISDAE::setDCEventMode(), ISISDAE::setDCFrameSyncDelay(), EnvironmentCard< EnvPeriodPolicy >::setFrameSync(), EnvPeriodCard< EnvPeriodPolicy >::setFrameSync(), ISISinstrumentControl::setTimeChannelRange(), MuonDetectorCard::setTimeChannels(), ISISDAE::setTimeChannels(), MuonDetectorCard::setTimeChannels32(), ISISinstrumentControl::setupDAE(), LabviewXML::setValue(), ISISDAE::setVeto(), ISISinstrumentControl::spawnCommand(), ISISinstrumentControl::tcbcalc(), ISISinstrumentControl::updateHardwarePeriodsXML(), ISISinstrumentControl::updateSpecmapsFromDAE(), ISISDAE::writeHistogramMemory(), ISISinstrumentControl::writeISISRAW(), and ISISDAE::writePOSLUTMemory().
|
protected |
Definition at line 64 of file DAEstatus.cpp.
References add().
Referenced by addDebugVa(), addInfoVa(), addVa(), and addWarningVa().
int DAEstatus::addWarning | ( | int | facility, |
const std::string & | text | ||
) |
Definition at line 101 of file DAEstatus.cpp.
References add(), ERRTYPE_NONE, and SEV_WARNING.
Referenced by DetectorCard< DetCardPolicy >::changeNumberOfPeriods(), ISISinstrumentControl::changeUpdateSettingsXML(), DetectorCard< DetCardPolicy >::isClearHistogramMemoryComplete(), ISISinstrumentControl::readDataDaeTable(), ISISinstrumentControl::readRecoveryFile(), ISISinstrumentControl::updateCycle(), ISISinstrumentControl::updateDAEsettingsXML(), ISISinstrumentControl::updateHardwarePeriodsXML(), ISISinstrumentControl::updateMonitoringXML(), ISISinstrumentControl::updateTCBXML(), and ISISinstrumentControl::writeJournal().
int DAEstatus::addWarningVa | ( | int | facility, |
const char * | format, | ||
... | |||
) |
Definition at line 106 of file DAEstatus.cpp.
References addVaMain(), ERRTYPE_NONE, and SEV_WARNING.
Referenced by addMonitors(), ISISinstrumentControl::beginRunMainEx(), DetectorCard< DetCardPolicy >::changeNumberOfPeriods(), ISISinstrumentControl::changePeriod(), DAE2Card< DAECardPolicy >::changeRegisterBits(), ISISinstrumentControl::createLastrunFile(), EnvironmentCard< EnvPeriodPolicy >::disableExternalVeto(), EnvPeriodCard< EnvPeriodPolicy >::disableExternalVeto(), EnvironmentCard< EnvPeriodPolicy >::enableExternalVeto(), EnvPeriodCard< EnvPeriodPolicy >::enableExternalVeto(), DetectorCard< DetCardPolicy >::getCurrentHardwarePeriod(), ISISinstrumentControl::getCurrentPeriodNumber(), EnvironmentCard< EnvPeriodPolicy >::getExternalVetoedFrames(), EnvPeriodCard< EnvPeriodPolicy >::getExternalVetoedFrames(), EnvPeriodCard< EnvPeriodPolicy >::getFermiChopperVetoedFrames(), CRPTProxy::loadOrCreateCRPT(), EnvPeriodCard< EnvPeriodPolicy >::processFermiChopperVeto(), ISISinstrumentControl::RCretry(), ISISinstrumentControl::readDetectorTable(), ISISinstrumentControl::readRecoveryFile(), ISISinstrumentControl::readSpectraTable(), ISISinstrumentControl::readWiringTable(), ISISinstrumentControl::runPostCommand(), ISISinstrumentControl::sendNagios(), EnvPeriodCard< EnvPeriodPolicy >::setMuonPulse(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::updateThread(), ISISinstrumentControl::updateXML(), ISISinstrumentControl::writeJournal(), and writeSummaryNeXus().
bool DAEstatus::check | ( | int | severity, |
int | direction | ||
) | const |
Definition at line 162 of file DAEstatus.cpp.
References DAEstatus_message::compare(), and m_severity.
Referenced by OK(), operator!=(), operator<=(), operator==(), and operator>=().
int DAEstatus::clear | ( | int | severity, |
int | direction, | ||
bool | reset_overall_severity = true |
||
) |
Definition at line 201 of file DAEstatus.cpp.
References m_critical, m_status_list, and recalculateSeverity().
Referenced by clearAll(), DetectorCard< DetCardPolicy >::DetectorCard(), DAE2Card< DAECardPolicy >::getCardType(), DAE2Card< DAECardPolicy >::getFirmwareVersion(), and DAE2Card< DAECardPolicy >::isCardPresent().
|
inline |
|
inline |
Definition at line 143 of file DAEstatus.h.
References check(), SEV_LE, and SEV_WARNING.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::endRunTask(), Cdae::getStatusMessages(), Cdae::makeResult(), ISISinstrumentControl::RCretry(), result(), and ISISinstrumentControl::saveRun().
|
inline |
Definition at line 147 of file DAEstatus.h.
|
inline |
Definition at line 148 of file DAEstatus.h.
|
inlineprivate |
Definition at line 135 of file DAEstatus.h.
|
inline |
Definition at line 146 of file DAEstatus.h.
|
inline |
Definition at line 149 of file DAEstatus.h.
|
inlinestatic |
Definition at line 192 of file DAEstatus.h.
Referenced by DAEstatus(), and report().
std::ostream & DAEstatus::print | ( | std::ostream & | str | ) |
|
protected |
Definition at line 147 of file DAEstatus.cpp.
References m_critical, m_severity, m_status_list, and SEV_OK.
int DAEstatus::report | ( | int | severity, |
int | direction, | ||
bool | reset_overall_severity = true , |
||
bool | remove_messages = true |
||
) |
Definition at line 224 of file DAEstatus.cpp.
References m_report_func, and m_report_func_arg.
Referenced by Cdae::makeResult(), report(), and reportAll().
int DAEstatus::report | ( | std::ostream & | str, |
int | severity, | ||
int | direction, | ||
bool | reset_overall_severity = true , |
||
bool | remove_messages = true |
||
) |
Definition at line 260 of file DAEstatus.cpp.
References ostreamReportFunction(), and report().
int DAEstatus::report | ( | DAEreport_func_t * | report_func, |
void * | report_arg, | ||
int | severity, | ||
int | direction, | ||
bool | reset_overall_severity = true , |
||
bool | remove_messages = true |
||
) |
Definition at line 229 of file DAEstatus.cpp.
References m_critical, m_status_list, and recalculateSeverity().
|
inline |
Definition at line 169 of file DAEstatus.h.
References report(), SEV_ALL, and SEV_OK.
Referenced by add(), ISISinstrumentControl::exitProgram(), Cdae::getStatusMessages(), Cdae::makeResult(), and print().
|
inline |
Definition at line 170 of file DAEstatus.h.
|
inline |
Definition at line 171 of file DAEstatus.h.
|
inline |
Definition at line 162 of file DAEstatus.h.
References m_report_immediately.
Referenced by ICPFileChannel::ICPFileChannel(), and ISISinstrumentControl::ISISinstrumentControl().
int DAEstatus::resetSeverityToAtLeast | ( | int | severity | ) |
Definition at line 184 of file DAEstatus.cpp.
References DAEstatus_message::compareGE(), m_critical, m_severity, m_status_list, and SEV_OK.
Referenced by QxtrmInterface::retryBlock(), NIVisa::retryBlock(), QxtrmInterface::retrySingle(), and NIVisa::retrySingle().
int DAEstatus::resetSeverityToAtMost | ( | int | severity | ) |
Definition at line 167 of file DAEstatus.cpp.
References DAEstatus_message::compareGE(), m_critical, m_severity, m_status_list, and SEV_OK.
Referenced by ISISinstrumentControl::ISISinstrumentControl(), ISISinstrumentControl::RCretry(), QxtrmInterface::retryBlock(), NIVisa::retryBlock(), QxtrmInterface::retrySingle(), and NIVisa::retrySingle().
|
inline |
Definition at line 144 of file DAEstatus.h.
References Failure, OK(), and Success.
Referenced by ISISinstrumentControl::beginRunMainEx(), ISISinstrumentControl::changeNumberOfSoftwarePeriods(), ISISinstrumentControl::changeUpdateSettingsXML(), DetectorCard< DetCardPolicy >::checkTestPattern(), ISISinstrumentControl::checkTestPattern(), ISISDAE::close(), ISISDAE::disablePeriodCard(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::endRunTask(), ISISinstrumentControl::fillWithTestPattern(), ISISinstrumentControl::getCRPTSpectrumIntegral(), ISISDAE::getCurrentHardwarePeriod(), ISISDAE::getCurrentPeriodSequence(), ISISinstrumentControl::getDAEsettingsXML(), ISISDAE::getDCFrameSyncDelay(), PeriodCard::getGoodFrames(), EnvPeriodCard< EnvPeriodPolicy >::getGoodFrames(), ISISinstrumentControl::getHardwarePeriodsXML(), ISISinstrumentControl::getMEvents(), ISISinstrumentControl::getMEventsPeriod(), ISISinstrumentControl::getMonitoringXML(), ISISinstrumentControl::getMonitorIntegral(), ISISinstrumentControl::getOptions(), PeriodCard::getRawFrames(), EnvPeriodCard< EnvPeriodPolicy >::getRawFrames(), ISISinstrumentControl::getSpectrumIntegral(), ISISinstrumentControl::getTCBXML(), ISISinstrumentControl::getTotalCounts(), ISISinstrumentControl::getUpdateSettingsXML(), ISISinstrumentControl::getVetoStatus(), ISISinstrumentControl::importCRPT(), ISISinstrumentControl::killDatasvr(), ISISinstrumentControl::loadDAEWithData(), ISISinstrumentControl::loadDAEWithNeXusData(), md5sumFile(), ISISDAE::programPeriodCard(), ISISinstrumentControl::refreshCachedValues(), ISISinstrumentControl::resumeRun(), ISISinstrumentControl::runPostCommand(), ISISinstrumentControl::saveCRPTToFile(), ISISinstrumentControl::saveRun(), ISISDAE::setDCFrameSyncDelay(), ISISinstrumentControl::setOptions(), ISISinstrumentControl::setVeto(), ISISinstrumentControl::snapshotCRPT(), ISISinstrumentControl::spawnCommand(), ISISinstrumentControl::storeCRPT(), ISISinstrumentControl::sumAllHistogramMemory(), ISISinstrumentControl::sumAllSpectra(), ISISinstrumentControl::updateCRPTWithDAE(), ISISinstrumentControl::updateDAEsettingsXML(), ISISinstrumentControl::updateHardwarePeriodsXML(), ISISinstrumentControl::updateMonitoringXML(), EnvPeriodCard< EnvPeriodPolicy >::updateOptions(), ISISinstrumentControl::updateSampleXML(), ISISinstrumentControl::updateStatusXML(), ISISinstrumentControl::updateTCBXML(), ISISinstrumentControl::updateUserXML(), ISISinstrumentControl::whichVeto(), and ISISinstrumentControl::writeAutosaveFile().
|
inline |
Definition at line 185 of file DAEstatus.h.
References m_report_copy_func, and m_report_copy_func_arg.
Referenced by Cdae::callICP(), Cdae::checkTestPattern(), Cdae::fillWithTestPattern(), Cdae::getArrayValue(), Cdae::getRunNumber(), Cdae::getRunState(), Cdae::getsect(), Cdae::getSpectraIntegral2(), Cdae::getSpectraIntegralHelper(), Cdae::getSpectraSum(), Cdae::getSpectrum(), Cdae::getSpectrumIntegral(), Cdae::getValue(), Cdae::quit(), Cdae::rio(), Cdae::setICPValueLong(), Cdae::sumAllHistogramMemory(), Cdae::sumAllSpectra(), Cdae::VMEReadArray(), Cdae::VMEReadValue(), Cdae::VMEReadValuesToString(), Cdae::VMEWriteArray(), and Cdae::VMEWriteValue().
|
inline |
Definition at line 178 of file DAEstatus.h.
References m_report_func, and m_report_func_arg.
Referenced by ISISinstrumentControl::ISISinstrumentControl(), and ICPFileChannel::log().
|
inline |
Definition at line 142 of file DAEstatus.h.
References m_severity.
Referenced by add(), Cdae::makeResult(), QxtrmInterface::retryBlock(), NIVisa::retryBlock(), QxtrmInterface::retrySingle(), and NIVisa::retrySingle().
|
inline |
Definition at line 145 of file DAEstatus.h.
References m_status_list.
Referenced by Cdae::getStatusMessages().
|
static |
Definition at line 141 of file DAEstatus.h.
Referenced by ISISinstrumentControl::abortRun(), ISISinstrumentControl::beginRunMainEx(), byte_rel_comp(), byte_rel_expn(), ISISinstrumentControl::changeNumberOfSoftwarePeriods(), ISISinstrumentControl::changePeriod(), ISISDAE::check(), createEmptyFileAndClose(), ISISinstrumentControl::createLastrunFile(), LabviewXML::DomFromCOM(), EnvironmentCard< EnvPeriodPolicy >::enableFChopperVeto(), EnvPeriodCard< EnvPeriodPolicy >::enableFChopperVeto(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::endRunTask(), ISISinstrumentControl::evaluateExpression(), CRPTProxy::flushCRPT(), CRPTProxy::flushSection(), item_struct< T >::getArrayItem(), item_struct< T >::getArrayItemSize(), ISISCRPT_STRUCT::getCharItem(), ISISinstrumentControl::getFramesAllPeriods(), ISISDAE::getGoodPPPLowerPeriod(), ISISDAE::getGoodPPPUpperPeriod(), ISISCRPT_STRUCT::getIntArrayItem(), ISISCRPT_STRUCT::getIntArrayItemSize(), ISISCRPT_STRUCT::getIntItem(), item_struct< T >::getItem(), ISISDAE::getRawPPPLowerPeriod(), ISISDAE::getRawPPPUpperPeriod(), ISISCRPT_STRUCT::getRealArrayItemHelper(), ISISCRPT_STRUCT::getRealArrayItemSize(), ISISCRPT_STRUCT::getRealItem(), ISISinstrumentControl::getUAmpHAllPeriods(), LabviewXML::getValue(), ISISinstrumentControl::ISISinstrumentControl(), ISISCRPT_DATA::load(), ISISinstrumentControl::loadCRPT(), CRPTProxy::loadCRPT(), ISISinstrumentControl::loadDAEWithData(), ISISinstrumentControl::loadDAEWithNeXusData(), LabviewXML::loadFromFile(), LabviewXML::loadFromString(), ISISCRPT_DATA::loadOrCreate(), CRPTProxy::loadOrCreateCRPT(), ISISCRPT_DATA::map(), CRPTProxy::mapCRPT(), md5sumFile(), md5sumString(), ISISinstrumentControl::notifyICP(), parseSpectraRange(), ISISinstrumentControl::pauseRunMain(), ISISinstrumentControl::RCretry(), ISISinstrumentControl::readDataDaeTable(), ISISDAE::readDCHistogramAsync(), ISISinstrumentControl::readDetectorTable(), ISISinstrumentControl::readRecoveryFile(), ISISinstrumentControl::readSpectraTable(), ISISinstrumentControl::readTables(), ISISinstrumentControl::readWiringTable(), result(), ISISinstrumentControl::resumeRun(), ISISinstrumentControl::RIO(), ISISDS::run(), ISISinstrumentControl::sendNagios(), EnvironmentCard< EnvPeriodPolicy >::setFrameSync(), EnvPeriodCard< EnvPeriodPolicy >::setFrameSync(), LabviewXML::setISO8859Encoding(), EnvPeriodCard< EnvPeriodPolicy >::setMuonPulse(), ISISinstrumentControl::setTimeChannelRange(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::stringTableToParameterMap(), ISISinstrumentControl::tcbcalc(), ISISinstrumentControl::updateBeamlineParametersFromFile(), ISISinstrumentControl::updateCRPTWithDAE(), ISISinstrumentControl::updateCycle(), LabviewXML::updateFromString(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateHardwarePeriodsXML(), ISISinstrumentControl::updateSampleParametersFromFile(), ISISinstrumentControl::updateSpecmapsFromDAE(), ISISinstrumentControl::VMEReadValuesToString(), ISISDAE::writeHistogramMemory(), ISISinstrumentControl::writeISISRAWasync(), ISISDAE::writePOSLUTMemory(), and ISISinstrumentControl::writeRecoveryFile().
|
private |
Definition at line 132 of file DAEstatus.h.
Referenced by add(), clear(), DAEstatus(), recalculateSeverity(), report(), resetSeverityToAtLeast(), resetSeverityToAtMost(), and ~DAEstatus().
|
private |
Definition at line 129 of file DAEstatus.h.
Referenced by add(), DAEstatus(), and setReportCopyFunction().
|
private |
Definition at line 130 of file DAEstatus.h.
Referenced by add(), DAEstatus(), and setReportCopyFunction().
|
private |
Definition at line 127 of file DAEstatus.h.
Referenced by DAEstatus(), report(), and setReportFunction().
|
private |
Definition at line 128 of file DAEstatus.h.
Referenced by DAEstatus(), report(), and setReportFunction().
|
private |
Definition at line 131 of file DAEstatus.h.
Referenced by add(), DAEstatus(), and reportImmediately().
|
private |
Definition at line 126 of file DAEstatus.h.
Referenced by add(), check(), DAEstatus(), recalculateSeverity(), resetSeverityToAtLeast(), resetSeverityToAtMost(), and severity().
|
private |
Definition at line 125 of file DAEstatus.h.
Referenced by add(), clear(), recalculateSeverity(), report(), resetSeverityToAtLeast(), resetSeverityToAtMost(), and size().
|
static |
Definition at line 140 of file DAEstatus.h.
Referenced by ISISinstrumentControl::abortRun(), add(), CRPTProxy::assignLogFiles(), byte_rel_comp(), byte_rel_expn(), ISISinstrumentControl::changePeriod(), ISISinstrumentControl::changePeriodWhileRunning(), ISISDAE::check(), ISISinstrumentControl::checkForNoncountingDetectors(), EnvPeriodCard< EnvPeriodPolicy >::computeTimeOffsetDelay(), createEmptyFileAndClose(), ISISinstrumentControl::createLastrunFile(), ISISDAE::daeTriggerFunc(), ISISinstrumentControl::debugReportFunction(), EnvironmentCard< EnvPeriodPolicy >::disableExternalVeto(), EnvPeriodCard< EnvPeriodPolicy >::disableExternalVeto(), EnvironmentCard< EnvPeriodPolicy >::disableFChopperVeto(), LabviewXML::DomFromCOM(), EnvironmentCard< EnvPeriodPolicy >::enableExternalVeto(), EnvPeriodCard< EnvPeriodPolicy >::enableExternalVeto(), ISISinstrumentControl::endSEWait(), ISISinstrumentControl::evaluateExpression(), ISISCRPT_DATA::flush(), CRPTProxy::flushCRPT(), CRPTProxy::flushSection(), item_struct< T >::getArrayItem(), item_struct< T >::getArrayItemSize(), Cdae::getArrayValueMain(), ISISCRPT_STRUCT::getCharItem(), ISISinstrumentControl::getCurrentPeriodNumber(), ISISDAE::getExternalResetCommands(), EnvironmentCard< EnvPeriodPolicy >::getExternalVetoedFrames(), EnvPeriodCard< EnvPeriodPolicy >::getExternalVetoedFrames(), EnvironmentCard< EnvPeriodPolicy >::getFChopperVetoedFrames(), EnvPeriodCard< EnvPeriodPolicy >::getFermiChopperVetoedFrames(), EnvPeriodCard< EnvPeriodPolicy >::getGoodPPPUpperPeriod(), ISISinstrumentControl::getIntArrayItem(), ISISCRPT_STRUCT::getIntArrayItem(), ISISCRPT_STRUCT::getIntArrayItemSize(), ISISCRPT_STRUCT::getIntItem(), item_struct< T >::getItem(), EnvPeriodCard< EnvPeriodPolicy >::getRawPPPUpperPeriod(), ISISinstrumentControl::getRealArrayItem(), ISISCRPT_STRUCT::getRealArrayItemHelper(), ISISCRPT_STRUCT::getRealArrayItemSize(), ISISCRPT_STRUCT::getRealItem(), ISISinstrumentControl::getSE(), ISISinstrumentControl::getSpectrumNumbersForTimeRegime(), LabviewXML::getValue(), Cdae::getValueMain(), ISISinstrumentControl::ISISinstrumentControl(), ISISinstrumentControl::ISOtime(), ISISCRPT_DATA::load(), CRPTProxy::loadCRPT(), LabviewXML::loadFromString(), ISISCRPT_DATA::loadOrCreate(), CRPTProxy::loadOrCreateCRPT(), ISISinstrumentControl::logEvent(), ISISCRPT_DATA::map(), CRPTProxy::mapCRPT(), md5sumString(), parseSpectraRange(), ISISinstrumentControl::pauseRunMain(), ISISinstrumentControl::prettyTime(), EnvironmentCard< EnvPeriodPolicy >::printVetoDetails(), EnvPeriodCard< EnvPeriodPolicy >::printVetoDetails(), ISISDSRequest::processCommand(), EnvPeriodCard< EnvPeriodPolicy >::processFermiChopperVeto(), ISISinstrumentControl::readDataDaeTable(), ISISDAE::readDCHistogramAsync(), ISISinstrumentControl::readDetectorTable(), EnvPeriodCard< EnvPeriodPolicy >::readFrameTimer(), ISISinstrumentControl::readRecoveryFile(), DAE2Card< EnvPeriodPolicy >::readRegister(), ISISinstrumentControl::readSpectraTable(), ISISinstrumentControl::readTables(), ISISinstrumentControl::readWiringTable(), ISISinstrumentControl::replaceSEparameters(), ISISinstrumentControl::requestEndRunAfterNextSequenceCompletes(), ISISDAE::requestEndRunAfterNextSequenceCompletes(), result(), ISISinstrumentControl::RIO(), ISISinstrumentControl::sendNagios(), DAE2Card< EnvPeriodPolicy >::setAndClearRegisterBits(), ISISinstrumentControl::setBeamlineParameters(), ISISinstrumentControl::setBlockTable(), ISISDAE::setFrameSync(), LabviewXML::setISO8859Encoding(), ISISinstrumentControl::setRunNumber(), ISISinstrumentControl::setRunStatusImp(), ISISinstrumentControl::setSampleParameters(), ISISinstrumentControl::setTimeChannelRange(), ISISinstrumentControl::setupDAE(), ISISinstrumentControl::setUserParameters(), ISISinstrumentControl::sqliteReportFunction(), ISISinstrumentControl::startSEWait(), ISISinstrumentControl::stringTableToParameterMap(), EnvPeriodCard< EnvPeriodPolicy >::syncFrameTimer(), ISISinstrumentControl::tcbcalc(), ISISinstrumentControl::updateBeamlineParameters(), updateChecksum(), ISISinstrumentControl::updateCRPTSpectra(), ISISinstrumentControl::updateCRPTSpectraAllPeriods(), ISISinstrumentControl::updateCRPTwithSE(), ISISinstrumentControl::updateCRPTWithSEandSaveToFile(), ISISinstrumentControl::updateCycle(), LabviewXML::updateFrom(), LabviewXML::updateFromString(), ISISinstrumentControl::updateFunc(), ISISinstrumentControl::updateMonitoringLog(), ISISinstrumentControl::updateParametersFromFile(), ISISinstrumentControl::updateSampleParameters(), ISISinstrumentControl::updateSpecmapsFromDAE(), ISISinstrumentControl::updateStatusLog(), ISISinstrumentControl::updateUserDetailsFromFile(), ISISinstrumentControl::updateXML(), ISISRAW::vmstime(), EnvironmentCard< EnvPeriodPolicy >::whichVeto(), EnvPeriodCard< EnvPeriodPolicy >::whichVeto(), ISISinstrumentControl::writeISISRAWasync(), ISISinstrumentControl::writeJournal(), DAE2Card< EnvPeriodPolicy >::writeMemory(), ISISinstrumentControl::writeRecoveryFile(), DAE2Card< EnvPeriodPolicy >::writeRegister(), and DAE2Card< EnvPeriodPolicy >::writeRegister16().