ICP
1
|
#include <NeXusEventWriter.h>
Public Member Functions | |
NeXusEventWriter () | |
void | start (const ISISCRPT_STRUCT *crpt, IXNeXusFile *file, bool create_empty) |
void | start (const ISISCRPT_STRUCT *crpt, bool create_empty) |
virtual void | start (int run_number, bool clear_counters) |
virtual void | wait () |
virtual void | stop (bool close_file) |
Private Attributes | |
EventStore | m_es |
NeXusEventCallback * | m_nxcallback |
IXNeXusFile * | m_file |
Additional Inherited Members | |
Protected Member Functions inherited from ISIS::Base | |
Base (const std::string &logger_name="UNKNOWN") | |
void | setLoggerName (const std::string &logger_name) |
virtual | ~Base () |
virtual std::string | loggingPrefix () const |
void | setThisLoggerLevel (int level) |
Static Protected Member Functions inherited from ISIS::Base | |
static void | setAllLoggerLevel (int level) |
Protected Attributes inherited from ISIS::Base | |
Poco::Logger * | m_logger |
Poco::LogStream * | m_logstr |
Poco::Mutex | m_logger_lock |
Definition at line 6 of file NeXusEventWriter.h.
NeXusEventWriter::NeXusEventWriter | ( | ) |
Definition at line 15 of file NeXusEventWriter.cpp.
References ISIS::Base::setLoggerName().
void NeXusEventWriter::start | ( | const ISISCRPT_STRUCT * | crpt, |
IXNeXusFile * | file, | ||
bool | create_empty | ||
) |
Definition at line 20 of file NeXusEventWriter.cpp.
References m_file, and stop().
Referenced by NeXusWriter::writeISISNeXus().
void NeXusEventWriter::start | ( | const ISISCRPT_STRUCT * | crpt, |
bool | create_empty | ||
) |
Definition at line 32 of file NeXusEventWriter.cpp.
References EventStore::addAllEventCallback(), EventStore::addAllFrameCallback(), EventStore::addFileInputSource(), EventStore::addNoFrameCallback(), NeXusEventCallback::allEventCallback(), NeXusEventCallback::allFrameCallback(), EventStore::clear(), NeXusEventCallback::createEmptyFileStructure(), EventStore::getEnabledEventSourceIDs(), LOGSTR_INFORMATION, m_es, m_file, m_nxcallback, IXNeXusFile::makeNewGroup(), NeXusEventCallback::noFrameCallbackEnd(), ISISCRPT_STRUCT::run_number, and EventStore::start().
|
virtual |
Implements EventWriter.
Definition at line 27 of file NeXusEventWriter.cpp.
|
virtual |
Implements EventWriter.
Definition at line 66 of file NeXusEventWriter.cpp.
References EventStore::clear(), IXNeXusFile::close(), m_es, m_file, m_nxcallback, and EventStore::stop().
Referenced by start().
|
virtual |
Implements EventWriter.
Definition at line 53 of file NeXusEventWriter.cpp.
References EventStore::endHeaderSeen(), NeXusEventCallback::finish(), LOGSTR_INFORMATION, m_es, m_nxcallback, and EventStore::stop().
Referenced by NeXusWriter::writeISISNeXus().
|
private |
Definition at line 8 of file NeXusEventWriter.h.
|
private |
Definition at line 10 of file NeXusEventWriter.h.
|
private |
Definition at line 9 of file NeXusEventWriter.h.