ICP  1
Classes | Namespaces | Macros
IsisBase.h File Reference

Go to the source code of this file.

Classes

class  ISIS::Base
 

Namespaces

 ISIS
 

Macros

#define __func__   __FUNCTION__
 
#define LOG_TRACE(__arg)   poco_trace(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);
 
#define LOG_DEBUG(__arg)   poco_debug(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);
 
#define LOG_INFORMATION(__arg)   poco_information(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);
 
#define LOG_NOTICE(__arg)   poco_notice(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);
 
#define LOG_WARNING(__arg)   poco_warning(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);
 
#define LOG_ERROR(__arg)   poco_error(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);
 
#define LOG_CRITICAL(__arg)   poco_critical(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);
 
#define LOG_FATAL(__arg)   poco_fatal(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);
 
#define LOGSTR_TRACE(__arg)
 
#define LOGSTR_DEBUG(__arg)
 
#define LOGSTR_INFORMATION(__arg)
 
#define LOGSTR_NOTICE(__arg)
 
#define LOGSTR_WARNING(__arg)
 
#define LOGSTR_ERROR(__arg)
 
#define LOGSTR_CRITICAL(__arg)
 
#define LOGSTR_FATAL(__arg)
 

Macro Definition Documentation

#define __func__   __FUNCTION__

Definition at line 5 of file IsisBase.h.

#define LOG_CRITICAL (   __arg)    poco_critical(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);

Definition at line 56 of file IsisBase.h.

#define LOG_DEBUG (   __arg)    poco_debug(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);

Definition at line 41 of file IsisBase.h.

#define LOG_ERROR (   __arg)    poco_error(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);

Definition at line 53 of file IsisBase.h.

#define LOG_FATAL (   __arg)    poco_fatal(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);

Definition at line 59 of file IsisBase.h.

#define LOG_INFORMATION (   __arg)    poco_information(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);

Definition at line 44 of file IsisBase.h.

Referenced by ISISinstrumentControl::ISISinstrumentControl().

#define LOG_NOTICE (   __arg)    poco_notice(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);

Definition at line 47 of file IsisBase.h.

#define LOG_TRACE (   __arg)    poco_trace(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);

Definition at line 38 of file IsisBase.h.

#define LOG_WARNING (   __arg)    poco_warning(*m_logger, std::string("(") + __func__ + ") " + loggingPrefix() + __arg);

Definition at line 50 of file IsisBase.h.

#define LOGSTR_CRITICAL (   __arg)
Value:
if (m_logger->critical()) \
{ \
Poco::Mutex::ScopedLock lock(m_logger_lock); \
m_logstr->critical() << "(" << __func__ << ") " << loggingPrefix() << __arg << std::endl; \
}
#define __func__
Definition: IsisBase.h:5

Definition at line 106 of file IsisBase.h.

#define LOGSTR_DEBUG (   __arg)
Value:
if (m_logger->debug()) \
{ \
Poco::Mutex::ScopedLock lock(m_logger_lock); \
m_logstr->debug() << "(" << __func__ << ") " << loggingPrefix() << __arg << std::endl; \
}
#define __func__
Definition: IsisBase.h:5

Definition at line 71 of file IsisBase.h.

Referenced by EventStore::addAllEventCallback(), EventStoreCard::addAllEventCallback(), EventStore::addAllFrameCallback(), EventStoreCard::addAllFrameCallback(), EventStore::addCard(), EventStore::addCards(), EventStore::addFileInputSource(), EventStore::addGoodEventCallback(), EventStoreCard::addGoodEventCallback(), EventStore::addGoodFrameCallback(), EventStoreCard::addGoodFrameCallback(), EventStore::addNoFrameCallback(), EventStoreCard::addNoFrameCallback(), EventStore::addRawFileInputSource(), ISISinstrumentControl::beginRunMainEx(), EventStoreCard::checkAndHistogramEvents(), EventStore::clearOutputFile(), EventStoreCard::clearOutputFile(), EventStoreCard::closeFiles(), EventStore::endHeaderSeen(), EventStore::EventStore(), EventStoreCard::EventStoreCard(), EventStoreCard::flushEvents(), DetectorCard< DetCardPolicy >::getNewEvents(), ISISDSRequest::processCommand(), ISISDS::run(), EventStoreCard::run(), GenericWorker< NeXusWorkerData >::run(), GenericTask< T >::runTask(), DetectorCard< DetCardPolicy >::setEventCollectionMode(), EventStore::setOutputFileName(), EventStoreCard::setOutputFileName(), SIMDetectorCard< DetCardPolicy >::simulateEventMode(), EventStore::start(), ISISinstrumentControl::startDataCollection(), EventStore::stop(), ISISinstrumentControl::stopDataCollection(), DetectorCard< DetCardPolicy >::updateDAEEventLastRead(), EventStoreCard::updateFilePosition(), EventStore::~EventStore(), and EventStoreCard::~EventStoreCard().

#define LOGSTR_ERROR (   __arg)
#define LOGSTR_FATAL (   __arg)
Value:
if (m_logger->fatal()) \
{ \
Poco::Mutex::ScopedLock lock(m_logger_lock); \
m_logstr->fatal() << "(" << __func__ << ") " << loggingPrefix() << __arg << std::endl; \
}
#define __func__
Definition: IsisBase.h:5

Definition at line 113 of file IsisBase.h.

#define LOGSTR_INFORMATION (   __arg)
Value:
if (m_logger->information()) \
{ \
Poco::Mutex::ScopedLock lock(m_logger_lock); \
m_logstr->information() << "(" << __func__ << ") " << loggingPrefix() << __arg << std::endl; \
}
#define __func__
Definition: IsisBase.h:5

Definition at line 78 of file IsisBase.h.

Referenced by Qxtrm_channel::blockReceive(), Qxtrm_channel::blockSend(), EventStoreCard::checkAndHistogramEvents(), EventsToolApp::convertRawToEvents(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::endRunTask(), ISISinstrumentControl::endSEWait(), EnvPeriodCard< EnvPeriodPolicy >::EnvPeriodCard(), NeXusEventCallback::finish(), DetectorCard< DetCardPolicy >::getNewEvents(), ISISDAE::ISISDAE(), ISISinstrumentControl::ISISinstrumentControl(), ISISRAWEventSource::ISISRAWEventSource(), Qxtrm_driver::loadConfigData(), EventsToolApp::main(), ISISDAE::open(), Qxtrm_channel::Qxtrm_channel(), Qxtrm_driver::Qxtrm_driver(), Qxtrm_channel::RDMARead(), Qxtrm_channel::RDMAWrite(), ISISinstrumentControl::readBeamloggerBroadcast(), QxtrmInterface::reinit(), NIVisa::reinit(), MuonDetectorCard::resetCardState(), EnvironmentCard< EnvPeriodPolicy >::resetCardState(), DetectorCard< DetCardPolicy >::resetCardState(), EnvPeriodCard< EnvPeriodPolicy >::resetCardState(), TCPEventStreamConnection::run(), EventStoreCard::setOutputFileName(), ICPEventWriter::setup(), SIMDetectorCard< DetCardPolicy >::SIMDetectorCard(), SIMEnvPeriodCard< EnvPeriodPolicy >::SIMEnvPeriodCard(), NeXusEventWriter::start(), ICPEventWriter::start(), ISISinstrumentControl::startSEWait(), ICPEventWriter::stop(), ISISDAE::stopRun(), Qxtrm_channel::streamReceive(), Qxtrm_channel::streamSend(), TCPEventStreamer::TCPEventStreamer(), ISISCRPT_DATA::unload(), NeXusEventWriter::wait(), NeXusWriter::writeISISNeXus(), NeXusEventCallback::~NeXusEventCallback(), TCPEventStreamConnection::~TCPEventStreamConnection(), and TCPEventStreamer::~TCPEventStreamer().

#define LOGSTR_NOTICE (   __arg)
Value:
if (m_logger->notice()) \
{ \
Poco::Mutex::ScopedLock lock(m_logger_lock); \
m_logstr->notice() << "(" << __func__ << ") " << loggingPrefix() << __arg << std::endl; \
}
#define __func__
Definition: IsisBase.h:5

Definition at line 85 of file IsisBase.h.

Referenced by TCPEventStreamConnection::allEventCallback(), and DetectorCard< DetCardPolicy >::getNewEvents().

#define LOGSTR_TRACE (   __arg)
Value:
if (m_logger->trace()) \
{ \
Poco::Mutex::ScopedLock lock(m_logger_lock); \
m_logstr->trace() << "(" << __func__ << ") " << loggingPrefix() << __arg << std::endl; \
}
#define __func__
Definition: IsisBase.h:5

Definition at line 64 of file IsisBase.h.

#define LOGSTR_WARNING (   __arg)