ICP  1
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
DAEstatus Class Reference

#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_tm_report_func
 
void * m_report_func_arg
 
DAEreport_func_tm_report_copy_func
 
void * m_report_copy_func_arg
 
bool m_report_immediately
 
CRITICAL_SECTION m_critical
 

Detailed Description

Definition at line 121 of file DAEstatus.h.

Member Typedef Documentation

typedef std::list<DAEstatus_message> DAEstatus::status_list_t
private

Definition at line 124 of file DAEstatus.h.

Constructor & Destructor Documentation

DAEstatus::DAEstatus ( const DAEstatus )
inlineprivate

Definition at line 134 of file DAEstatus.h.

DAEstatus::DAEstatus ( )
DAEstatus::~DAEstatus ( )

Definition at line 17 of file DAEstatus.cpp.

References m_critical.

Member Function Documentation

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)
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().

int DAEstatus::addVaMain ( int  facility,
int  severity,
int  errtype,
const char *  format,
va_list  ap 
)
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 
)
int DAEstatus::addWarningVa ( int  facility,
const char *  format,
  ... 
)
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 
)
int DAEstatus::clearAll ( bool  reset_overall_severity = true)
inline

Definition at line 165 of file DAEstatus.h.

References clear(), SEV_ALL, and SEV_OK.

Referenced by add().

bool DAEstatus::OK ( )
inline
bool DAEstatus::operator!= ( int  severity) const
inline

Definition at line 147 of file DAEstatus.h.

References check(), and SEV_EQ.

bool DAEstatus::operator<= ( int  severity) const
inline

Definition at line 148 of file DAEstatus.h.

References check(), and SEV_LE.

void DAEstatus::operator= ( const DAEstatus )
inlineprivate

Definition at line 135 of file DAEstatus.h.

bool DAEstatus::operator== ( int  severity) const
inline

Definition at line 146 of file DAEstatus.h.

References check(), and SEV_EQ.

bool DAEstatus::operator>= ( int  severity) const
inline

Definition at line 149 of file DAEstatus.h.

References check(), and SEV_GE.

static int DAEstatus::ostreamReportFunction ( const DAEstatus_message mess,
void *  arg 
)
inlinestatic

Definition at line 192 of file DAEstatus.h.

Referenced by DAEstatus(), and report().

std::ostream & DAEstatus::print ( std::ostream &  str)

Definition at line 265 of file DAEstatus.cpp.

References reportAll().

Referenced by operator<<().

int DAEstatus::recalculateSeverity ( )
protected

Definition at line 147 of file DAEstatus.cpp.

References m_critical, m_severity, m_status_list, and SEV_OK.

Referenced by clear(), and report().

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().

int DAEstatus::reportAll ( bool  reset_overall_severity = true,
bool  remove_messages = true 
)
inline
int DAEstatus::reportAll ( std::ostream &  str,
bool  reset_overall_severity = true,
bool  remove_messages = true 
)
inline

Definition at line 170 of file DAEstatus.h.

References report(), SEV_ALL, and SEV_OK.

int DAEstatus::reportAll ( DAEreport_func_t report_func,
void *  report_arg,
bool  reset_overall_severity = true,
bool  remove_messages = true 
)
inline

Definition at line 171 of file DAEstatus.h.

References report(), SEV_ALL, and SEV_OK.

void DAEstatus::reportImmediately ( bool  value)
inline
int DAEstatus::resetSeverityToAtLeast ( int  severity)
int DAEstatus::resetSeverityToAtMost ( int  severity)
int DAEstatus::result ( )
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().

int DAEstatus::setReportCopyFunction ( DAEreport_func_t report_func,
void *  arg 
)
inline
int DAEstatus::setReportFunction ( DAEreport_func_t report_func,
void *  arg 
)
inline
int DAEstatus::severity ( )
inline
int DAEstatus::size ( )
inline

Definition at line 145 of file DAEstatus.h.

References m_status_list.

Referenced by Cdae::getStatusMessages().

Member Data Documentation

const int DAEstatus::Failure = 1
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().

CRITICAL_SECTION DAEstatus::m_critical
private
DAEreport_func_t* DAEstatus::m_report_copy_func
private

Definition at line 129 of file DAEstatus.h.

Referenced by add(), DAEstatus(), and setReportCopyFunction().

void* DAEstatus::m_report_copy_func_arg
private

Definition at line 130 of file DAEstatus.h.

Referenced by add(), DAEstatus(), and setReportCopyFunction().

DAEreport_func_t* DAEstatus::m_report_func
private

Definition at line 127 of file DAEstatus.h.

Referenced by DAEstatus(), report(), and setReportFunction().

void* DAEstatus::m_report_func_arg
private

Definition at line 128 of file DAEstatus.h.

Referenced by DAEstatus(), report(), and setReportFunction().

bool DAEstatus::m_report_immediately
private

Definition at line 131 of file DAEstatus.h.

Referenced by add(), DAEstatus(), and reportImmediately().

int DAEstatus::m_severity
private
status_list_t DAEstatus::m_status_list
private
const int DAEstatus::Success = 0
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().


The documentation for this class was generated from the following files: