ICP  1
Public Member Functions | Private Attributes | List of all members
NXlogWriter< T > Class Template Reference

#include <nexuswriter.h>

Inheritance diagram for NXlogWriter< T >:
Inheritance graph

Public Member Functions

 NXlogWriter (const std::string &value_units, time_t offset)
 
void addValue (float time, T value)
 
void write (IXNeXusFile *file, const std::string &name)
 
void setOffset (time_t offset)
 

Private Attributes

time_t m_offset
 
std::string m_value_units
 
std::vector< float > m_time
 
std::vector< T > m_value
 

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

template<typename T>
class NXlogWriter< T >

Definition at line 196 of file nexuswriter.h.

Constructor & Destructor Documentation

template<typename T>
NXlogWriter< T >::NXlogWriter ( const std::string &  value_units,
time_t  offset 
)
inline

Definition at line 204 of file nexuswriter.h.

Member Function Documentation

template<typename T>
void NXlogWriter< T >::addValue ( float  time,
value 
)
inline

Definition at line 205 of file nexuswriter.h.

Referenced by NeXusEventCallback::allFrameCallback().

template<typename T>
void NXlogWriter< T >::setOffset ( time_t  offset)
inline

Definition at line 207 of file nexuswriter.h.

Referenced by NeXusEventCallback::finish().

template<typename T>
void NXlogWriter< T >::write ( IXNeXusFile file,
const std::string &  name 
)
inline

Definition at line 206 of file nexuswriter.h.

Referenced by NeXusEventCallback::finish().

Member Data Documentation

template<typename T>
time_t NXlogWriter< T >::m_offset
private

Definition at line 199 of file nexuswriter.h.

Referenced by NXlogWriter< int >::setOffset(), and NXlogWriter< int >::write().

template<typename T>
std::vector<float> NXlogWriter< T >::m_time
private

Definition at line 201 of file nexuswriter.h.

Referenced by NXlogWriter< int >::addValue(), and NXlogWriter< int >::write().

template<typename T>
std::vector<T> NXlogWriter< T >::m_value
private

Definition at line 202 of file nexuswriter.h.

Referenced by NXlogWriter< int >::addValue(), and NXlogWriter< int >::write().

template<typename T>
std::string NXlogWriter< T >::m_value_units
private

Definition at line 200 of file nexuswriter.h.

Referenced by NXlogWriter< int >::write().


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