GSE++ library: reading and writing GSE waveforms
GSE2::waveform::TDAT2read Class Referenceabstract

Abstract base class for reading GSE2 waveform data. More...

#include "gsexx.h"

Inheritance diagram for GSE2::waveform::TDAT2read:
Collaboration diagram for GSE2::waveform::TDAT2read:

Public Member Functions

virtual ~TDAT2read ()
 provide explicit virtual destructor More...
 
intT operator() (std::istream &is)
 get another value from the stream More...
 
const TCHK2checksum () const
 return the checksum More...
 
intT nread () const
 return the number of samples read More...
 
intT msamp () const
 return total number of samples to read More...
 
bool hot () const
 return true if not all samples are processed More...
 

Static Public Attributes

static const char *const GSEID ="DAT2"
 GSE line idetifier. More...
 

Protected Member Functions

 TDAT2read (const intT &msamp)
 constructor to be called from implementation class More...
 
void add (const intT &value)
 count a sample More...
 

Private Member Functions

virtual intT convert (std::istream &is)=0
 get from stream: user must define More...
 

Detailed Description

Abstract base class for reading GSE2 waveform data.

This is an abstract base class, which defines a standard interface for reading GSE2 waveform data in any subformat. A derived class for each supported subformat must be defined to make this concept useable.

See also
GSE2::waveform::TDAT2readCM6
GSE2::waveform::TDAT2readCM8
GSE2::waveform::TDAT2readINT
GSE2::waveform::TDAT2write

Definition at line 331 of file gsexx.h.


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