GageReader Class Reference

#include <gagereader.h>

Inheritance diagram for GageReader:

NSDiskIO::AbstractReader NSDiskIO::AbstractDiskIO< QDataStream > NSCore::DataSetProducer NSCore::QTreeItem QObject NSCore::PointerProtection_Skel
Collaboration diagram for GageReader:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GageReader (QObject *=0)
 ~GageReader ()
void reset ()
 Go back to start.
bool atEnd () const
 whether the end is reached...
QString filter () const
 The file-endings supported.
void setFile (QString)
QString filename () const
 the current filename
void readSingleDataSet ()
 the real work


Constructor & Destructor Documentation

GageReader::GageReader ( QObject = 0  ) 

GageReader::~GageReader (  ) 


Member Function Documentation

void GageReader::reset (  )  [inline, virtual]

Go back to start.

Don't collect the money and don't drink any champaign...

Implements NSDiskIO::AbstractReader.

References NSDiskIO::AbstractDiskIO< QDataStream >::_stream.

bool GageReader::atEnd (  )  const [inline, virtual]

whether the end is reached...

Implements NSDiskIO::AbstractReader.

References NSDiskIO::AbstractDiskIO< QDataStream >::_stream.

QString GageReader::filter (  )  const [inline, virtual]

The file-endings supported.

Implements NSDiskIO::AbstractReader.

void GageReader::setFile ( QString   )  [virtual]

QString GageReader::filename (  )  const [virtual]

the current filename

Implements NSDiskIO::AbstractReader.

void GageReader::readSingleDataSet (  )  [virtual]

the real work

Implement this! Read one complete NSCore::AcqisitionDataSet from _stream and enqueue it to the buffer. You don't need to call signalData() as this will be done by the callers of this function.

This function will only be called when a file is open but it doesn't hurt to check _stream!=0 in the beginning.

You should emit percent( int ) regularly so the GUI and the user get informed about how much data i already read.

Implements NSDiskIO::AbstractReader.


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

Generated on Tue Apr 12 02:10:12 2011 for epos by  doxygen 1.5.5