ICP  1
Public Member Functions | Private Attributes | List of all members
NeXusEventWriter Class Reference

#include <NeXusEventWriter.h>

Inheritance diagram for NeXusEventWriter:
Inheritance graph

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
 
NeXusEventCallbackm_nxcallback
 
IXNeXusFilem_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
 

Detailed Description

Definition at line 6 of file NeXusEventWriter.h.

Constructor & Destructor Documentation

NeXusEventWriter::NeXusEventWriter ( )

Definition at line 15 of file NeXusEventWriter.cpp.

References ISIS::Base::setLoggerName().

Member Function Documentation

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 
)
void NeXusEventWriter::start ( int  run_number,
bool  clear_counters 
)
virtual

Implements EventWriter.

Definition at line 27 of file NeXusEventWriter.cpp.

void NeXusEventWriter::stop ( bool  close_file)
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().

void NeXusEventWriter::wait ( )
virtual

Member Data Documentation

EventStore NeXusEventWriter::m_es
private

Definition at line 8 of file NeXusEventWriter.h.

Referenced by start(), stop(), and wait().

IXNeXusFile* NeXusEventWriter::m_file
private

Definition at line 10 of file NeXusEventWriter.h.

Referenced by start(), and stop().

NeXusEventCallback* NeXusEventWriter::m_nxcallback
private

Definition at line 9 of file NeXusEventWriter.h.

Referenced by start(), stop(), and wait().


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