NSDiskIO::EPOSReader Class Reference

Load EPOS own format. More...

#include <diskiobuffers.h>

Inheritance diagram for NSDiskIO::EPOSReader:

NSDiskIO::AbstractReader NSDiskIO::AbstractDiskIO< QTextStream > NSCore::DataSetProducer NSCore::QTreeItem QObject NSCore::PointerProtection_Skel
Collaboration diagram for NSDiskIO::EPOSReader:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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


Detailed Description

Load EPOS own format.

Constructor & Destructor Documentation

NSDiskIO::EPOSReader::EPOSReader ( QObject  ) 


Member Function Documentation

QString NSDiskIO::EPOSReader::filter (  )  const [inline, virtual]

The file-endings supported.

Implements NSDiskIO::AbstractReader.

void NSDiskIO::EPOSReader::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.

void NSDiskIO::EPOSReader::reset (  )  [inline, virtual]

Go back to start.

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

Implements NSDiskIO::AbstractReader.

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

void NSDiskIO::EPOSReader::setFile ( QString  file  )  [virtual]

QString NSDiskIO::EPOSReader::filename (  )  const [virtual]

the current filename

Implements NSDiskIO::AbstractReader.

bool NSDiskIO::EPOSReader::atEnd (  )  const [inline, virtual]

whether the end is reached...

Implements NSDiskIO::AbstractReader.

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


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

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