QXRD  0.11.16
Classes | Macros | Enumerations | Functions | Variables
qcepdebug.h File Reference

(Commit a65ccc9... : jennings : 2016-03-15 14:00:18 -0500)

#include <QStringList>
#include <QMap>
#include <QSharedPointer>
Include dependency graph for qcepdebug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QcepDebugDictionary
 

Macros

#define HEXARG(a)   arg(QcepDebugDictionary::hexArg(a))
 

Enumerations

enum  {
  DEBUG_NOMESSAGES = 0, DEBUG_APP, DEBUG_PROPERTIES, DEBUG_WINDOW,
  DEBUG_PREFS, DEBUG_DISPLAY, DEBUG_CONSTRUCTORS, DEBUG_ALLOCATOR,
  DEBUG_THREADS, DEBUG_QUEUES, DEBUG_IMAGE_CONSTRUCTORS, DEBUG_LOCKING,
  DEBUG_SERVER, DEBUG_DATABROWSER, DEBUG_DRAGDROP, LAST_CEP_DEBUG = DEBUG_DRAGDROP
}
 

Functions

qint64 qcepDebug (int cond)
 

Variables

QSharedPointer< QcepDebugDictionaryg_DebugLevel
 

Macro Definition Documentation

#define HEXARG (   a)    arg(QcepDebugDictionary::hexArg(a))

Enumeration Type Documentation

anonymous enum
Enumerator
DEBUG_NOMESSAGES 
DEBUG_APP 
DEBUG_PROPERTIES 
DEBUG_WINDOW 
DEBUG_PREFS 
DEBUG_DISPLAY 
DEBUG_CONSTRUCTORS 
DEBUG_ALLOCATOR 
DEBUG_THREADS 
DEBUG_QUEUES 
DEBUG_IMAGE_CONSTRUCTORS 
DEBUG_LOCKING 
DEBUG_SERVER 
DEBUG_DATABROWSER 
DEBUG_DRAGDROP 
LAST_CEP_DEBUG 

Definition at line 8 of file qcepdebug.h.

Function Documentation

qint64 qcepDebug ( int  cond)

Definition at line 26 of file qcepdebug.cpp.

References g_DebugLevel.

Referenced by QxrdAcquisition::accumulateAcquiredImage(), QxrdDetectorPilatus::beginAcquisition(), QxrdDetectorPerkinElmer::beginAcquisition(), QxrdDetectorPilatus::beginFrame(), QxrdDataProcessorThreaded::calculateHistogram(), QxrdDataProcessorThreaded::calculateROI(), QxrdFileBrowserModelUpdater::changeContents(), QxrdFileBrowserModelUpdater::changeRoot(), QxrdSimpleServer::clientRead(), QxrdApplication::closeExperiment(), QcepDatasetModel::columnCount(), QxrdSimpleServer::connectionClosed(), QxrdDataProcessorThreaded::correctDoubleImage(), QxrdDataProcessorThreaded::correctInt16Image(), QxrdDataProcessorThreaded::correctInt32Image(), QcepDatasetModel::data(), QcepIntegratedDataQueue::deallocate(), QcepImageQueue< T >::deallocate(), QcepIntegratedDataQueue::dequeue(), QcepImageQueue< T >::dequeue(), QxrdAcquisition::doAcquire(), QxrdAcquisition::doAcquireDark(), QxrdDetectorProcessor::doCalculateROICounts(), QxrdCalibrant::dSpacingsCubic(), QcepIntegratedDataQueue::enqueue(), QcepImageQueue< T >::enqueue(), QxrdAcquisitionExtraInputs::evaluateChannels(), QxrdScriptEngine::evaluateScript(), QxrdApplication::finish(), QxrdSimpleServer::finishedCommand(), QxrdCenterFinder::fitPowderEllipses(), QxrdDataProcessorThreaded::idleInt16Image(), QcepVector3DProperty::incValue(), QcepMatrix3x3Property::incValue(), QcepDoubleProperty::incValue(), QcepIntProperty::incValue(), QcepDoubleListProperty::incValue(), QcepDoubleVectorProperty::incValue(), QcepIntListProperty::incValue(), QcepIntVectorProperty::incValue(), QcepInt64Property::incValue(), QcepDatasetModel::index(), QcepDatasetModel::indexedObject(), QxrdAcquisition::initialize(), QxrdDataProcessorThreaded::integrateImage(), QxrdDataProcessorThreaded::integrateSaveAndDisplay(), QxrdDetectorPilatus::interpretReply(), QcepDoubleProperty::linkTo(), QcepIntProperty::linkTo(), QcepBoolProperty::linkTo(), QcepStringProperty::linkTo(), QxrdDataProcessorBase::loadBadPixels(), QxrdDataProcessorBase::loadDark(), QxrdDataProcessorBase::loadData(), QxrdDataProcessorBase::loadGainMap(), QxrdDataProcessorBase::loadMask(), QxrdApplication::loadPlugins(), main(), QcepDatasetModel::mimeData(), QcepAllocator::newDoubleImage(), QcepAllocator::newDoubleImageAndIntegratedData(), QcepAllocator::newInt16Image(), QcepAllocator::newInt32Image(), QcepAllocator::newIntegratedData(), QcepAllocator::newMask(), QxrdDetectorPerkinElmer::onEndFrame(), QxrdFileBrowser::onFileUpdated(), QxrdDataProcessorThreaded::onHistogramDataAvailable(), QxrdDataProcessorThreaded::onIntegratedDataAvailable(), QxrdIntegrator::onIntegrationParametersChanged(), QxrdImagePlot::onProcessedImageAvailable(), QxrdDetectorPilatusRemote::onReadyRead(), QxrdDataProcessorThreaded::onROIDataAvailable(), QxrdFileBrowser::onRowCountChanged(), QxrdSimpleServer::openNewConnection(), QcepDatasetModel::parent(), QxrdIntegratorCache::performIntegration(), QxrdIntegrator::performIntegration(), QcepSettingsSaver::performSave(), QxrdApplication::printMessage(), QxrdExperiment::printMessage(), QxrdDetectorProcessor::processAcquiredImage(), QxrdAcquisition::processAcquiredImage(), QxrdDataProcessorBase::processAcquiredImage(), QxrdDataProcessorBase::processAcquiredInt16Image(), QxrdDataProcessorBase::processAcquiredInt32Image(), QxrdDetectorProcessor::processDarkImage(), QxrdApplication::processEventCounter(), QxrdDetectorProcessor::processIdleImage(), QxrdAcquisition::processImage(), QcepAllocator::QcepAllocator(), QcepAllocatorThread::QcepAllocatorThread(), QcepImageData< T >::QcepImageData(), QcepImageDataBase::QcepImageDataBase(), QcepImageQueue< T >::QcepImageQueue(), QcepMutexLocker::QcepMutexLocker(), QcepSettingsSaver::QcepSettingsSaver(), QxrdAcquisition::QxrdAcquisition(), QxrdAcquisitionExecution::QxrdAcquisitionExecution(), QxrdAcquisitionExecutionThread::QxrdAcquisitionExecutionThread(), QxrdAcquisitionExtraInputs::QxrdAcquisitionExtraInputs(), QxrdAcquisitionExtraInputsDialog::QxrdAcquisitionExtraInputsDialog(), QxrdAcquisitionThread::QxrdAcquisitionThread(), QxrdApplication::QxrdApplication(), QxrdCenterFinderDialog::QxrdCenterFinderDialog(), QxrdCorrectionDialog::QxrdCorrectionDialog(), QxrdDataProcessorBase::QxrdDataProcessorBase(), QxrdDataProcessorThread::QxrdDataProcessorThread(), QxrdDetector::QxrdDetector(), QxrdDetectorPerkinElmer::QxrdDetectorPerkinElmer(), QxrdDetectorPilatus::QxrdDetectorPilatus(), QxrdDetectorProcessor::QxrdDetectorProcessor(), QxrdDetectorSimulated::QxrdDetectorSimulated(), QxrdDetectorThread::QxrdDetectorThread(), QxrdDisplayDialog::QxrdDisplayDialog(), QxrdDistortionCorrectionDialog::QxrdDistortionCorrectionDialog(), QxrdExperiment::QxrdExperiment(), QxrdExperimentPreferencesDialog::QxrdExperimentPreferencesDialog(), QxrdExperimentSettings::QxrdExperimentSettings(), QxrdExperimentThread::QxrdExperimentThread(), QxrdFileBrowser::QxrdFileBrowser(), QxrdFileBrowserModelUpdater::QxrdFileBrowserModelUpdater(), QxrdFileBrowserModelUpdaterThread::QxrdFileBrowserModelUpdaterThread(), QxrdFileSaver::QxrdFileSaver(), QxrdFileSaverThread::QxrdFileSaverThread(), QxrdGlobalPreferencesDialog::QxrdGlobalPreferencesDialog(), QxrdGlobalSettings::QxrdGlobalSettings(), QxrdHelpBrowser::QxrdHelpBrowser(), QxrdHistogramDialog::QxrdHistogramDialog(), QxrdInfoDialog::QxrdInfoDialog(), QxrdIntegrator::QxrdIntegrator(), QxrdIntegratorCache::QxrdIntegratorCache(), QxrdIntegratorDialog::QxrdIntegratorDialog(), QxrdMaskDialog::QxrdMaskDialog(), QxrdMaskRasterData::QxrdMaskRasterData(), QxrdRasterData::QxrdRasterData(), QxrdROICalculator::QxrdROICalculator(), QxrdScriptDialog::QxrdScriptDialog(), QxrdScriptEngine::QxrdScriptEngine(), QxrdScriptEngineThread::QxrdScriptEngineThread(), QxrdServer::QxrdServer(), QxrdServerThread::QxrdServerThread(), QxrdSimpleServer::QxrdSimpleServer(), QxrdSimpleServerThread::QxrdSimpleServerThread(), QxrdSliceDialog::QxrdSliceDialog(), QxrdSynchronizedAcquisitionDialog::QxrdSynchronizedAcquisitionDialog(), QxrdWindow::QxrdWindow(), QcepProperty::readSettings(), QxrdDetectorPilatus::readyRead(), QxrdHistogramDialog::recalculateHistogram(), QxrdDetectorPilatus::remoteCopy(), QxrdDetectorPilatus::remoteDelete(), QcepVector3DProperty::resetValue(), QxrdPowderPointProperty::resetValue(), QcepMatrix3x3Property::resetValue(), QxrdPowderPointVectorProperty::resetValue(), QcepDoubleProperty::resetValue(), QcepIntProperty::resetValue(), QcepBoolProperty::resetValue(), QcepStringProperty::resetValue(), QcepDateTimeProperty::resetValue(), QcepDoubleListProperty::resetValue(), QcepDoubleVectorProperty::resetValue(), QcepIntListProperty::resetValue(), QcepIntVectorProperty::resetValue(), QcepStringListProperty::resetValue(), QcepByteArrayProperty::resetValue(), QcepDoublePointProperty::resetValue(), QcepDoubleRectProperty::resetValue(), QcepPolygonProperty::resetValue(), QcepInt64Property::resetValue(), QcepDatasetModel::rowCount(), QxrdFileBrowserModelUpdaterThread::run(), QxrdScriptEngineThread::run(), QcepAllocatorThread::run(), QxrdFileSaverThread::run(), QxrdSimpleServerThread::run(), QxrdAcquisitionExecutionThread::run(), QxrdServerThread::run(), QxrdDataProcessorThread::run(), QxrdExperimentThread::run(), QxrdAcquisitionThread::run(), QxrdDetectorThread::run(), QxrdDetectorPilatus::sendCommand(), QcepBoolPropertyButtonHelper::setChecked(), QcepIntPropertyComboBoxHelper::setCurrentIndex(), QcepStringPropertyComboBoxHelper::setCurrentIndex(), QxrdExperiment::setExperimentFilePath(), QcepStringPropertyLineEditHelper::setText(), QcepStringPropertyTextEditHelper::setText(), QcepVector3DProperty::setValue(), QcepMatrix3x3Property::setValue(), QxrdPowderPointProperty::setValue(), QcepDoubleProperty::setValue(), QxrdPowderPointVectorProperty::setValue(), QcepDoublePropertyDoubleSpinBoxHelper::setValue(), QcepIntProperty::setValue(), QcepIntPropertySpinBoxHelper::setValue(), QcepBoolProperty::setValue(), QcepStringProperty::setValue(), QcepStringPropertyComboBoxHelper::setValue(), QcepDateTimeProperty::setValue(), QcepDoubleListProperty::setValue(), QcepDoubleVectorProperty::setValue(), QcepIntListProperty::setValue(), QcepIntVectorProperty::setValue(), QcepStringListProperty::setValue(), QcepByteArrayProperty::setValue(), QcepDoublePointProperty::setValue(), QcepDoubleRectProperty::setValue(), QcepPolygonProperty::setValue(), QcepInt64Property::setValue(), QcepMainWindow::shrinkObject(), QxrdAcquisition::shutdown(), QcepIntegratedDataQueue::size(), QcepImageQueue< T >::size(), QxrdDetectorPilatus::startDetector(), QxrdDetectorPerkinElmer::startDetector(), QxrdSimpleServer::startServer(), QxrdDetectorPerkinElmer::startupAcquisition(), QxrdApplication::statusMessage(), QxrdCenterFinder::traceRingNear(), QxrdFileBrowserModelUpdater::updateContents(), QxrdFileBrowserModelUpdater::updateTimeout(), QcepAllocator::waitTillAvailable(), QcepProperty::writeSettings(), QcepAllocator::~QcepAllocator(), QcepAllocatorThread::~QcepAllocatorThread(), QcepImageData< T >::~QcepImageData(), QcepImageDataBase::~QcepImageDataBase(), QcepImageQueue< T >::~QcepImageQueue(), QcepIntegratedDataQueue::~QcepIntegratedDataQueue(), QcepMutexLocker::~QcepMutexLocker(), QcepSettingsSaver::~QcepSettingsSaver(), QxrdAcquisition::~QxrdAcquisition(), QxrdAcquisitionExecution::~QxrdAcquisitionExecution(), QxrdAcquisitionExecutionThread::~QxrdAcquisitionExecutionThread(), QxrdAcquisitionExtraInputs::~QxrdAcquisitionExtraInputs(), QxrdAcquisitionExtraInputsDialog::~QxrdAcquisitionExtraInputsDialog(), QxrdAcquisitionThread::~QxrdAcquisitionThread(), QxrdApplication::~QxrdApplication(), QxrdCenterFinderDialog::~QxrdCenterFinderDialog(), QxrdCorrectionDialog::~QxrdCorrectionDialog(), QxrdDataProcessorBase::~QxrdDataProcessorBase(), QxrdDataProcessorThread::~QxrdDataProcessorThread(), QxrdDetector::~QxrdDetector(), QxrdDetectorPerkinElmer::~QxrdDetectorPerkinElmer(), QxrdDetectorPilatus::~QxrdDetectorPilatus(), QxrdDetectorProcessor::~QxrdDetectorProcessor(), QxrdDetectorSimulated::~QxrdDetectorSimulated(), QxrdDetectorThread::~QxrdDetectorThread(), QxrdDisplayDialog::~QxrdDisplayDialog(), QxrdDistortionCorrectionDialog::~QxrdDistortionCorrectionDialog(), QxrdExperiment::~QxrdExperiment(), QxrdExperimentPreferencesDialog::~QxrdExperimentPreferencesDialog(), QxrdExperimentSettings::~QxrdExperimentSettings(), QxrdExperimentThread::~QxrdExperimentThread(), QxrdFileBrowser::~QxrdFileBrowser(), QxrdFileBrowserModelUpdater::~QxrdFileBrowserModelUpdater(), QxrdFileBrowserModelUpdaterThread::~QxrdFileBrowserModelUpdaterThread(), QxrdFileSaver::~QxrdFileSaver(), QxrdFileSaverThread::~QxrdFileSaverThread(), QxrdGlobalPreferencesDialog::~QxrdGlobalPreferencesDialog(), QxrdGlobalSettings::~QxrdGlobalSettings(), QxrdHelpBrowser::~QxrdHelpBrowser(), QxrdHistogramDialog::~QxrdHistogramDialog(), QxrdInfoDialog::~QxrdInfoDialog(), QxrdIntegrator::~QxrdIntegrator(), QxrdIntegratorCache::~QxrdIntegratorCache(), QxrdIntegratorDialog::~QxrdIntegratorDialog(), QxrdMaskDialog::~QxrdMaskDialog(), QxrdROICalculator::~QxrdROICalculator(), QxrdScriptDialog::~QxrdScriptDialog(), QxrdScriptEngine::~QxrdScriptEngine(), QxrdScriptEngineThread::~QxrdScriptEngineThread(), QxrdServer::~QxrdServer(), QxrdServerThread::~QxrdServerThread(), QxrdSimpleServer::~QxrdSimpleServer(), QxrdSimpleServerThread::~QxrdSimpleServerThread(), QxrdSliceDialog::~QxrdSliceDialog(), QxrdSynchronizedAcquisitionDialog::~QxrdSynchronizedAcquisitionDialog(), and QxrdWindow::~QxrdWindow().

27 {
28  if (g_DebugLevel == NULL) {
29  printf("No Debug Dictionary Allocated\n");
30 
31  return 0;
32  } else {
33  qint64 mask = 1;
34 
35  mask <<= cond;
36 
37  return g_DebugLevel->debugLevel() & (mask);
38  }
39 }
QSharedPointer< QcepDebugDictionary > g_DebugLevel
Definition: qcepdebug.cpp:4

Variable Documentation

QSharedPointer<QcepDebugDictionary> g_DebugLevel