NSDiskIO::CSVWriter Class Reference

write CSV-files for gnuplot More...

#include <diskiobuffers.h>

Inheritance diagram for NSDiskIO::CSVWriter:

NSDiskIO::AbstractWriter NSDiskIO::AbstractDiskIO< QTextStream > NSCore::DataSetChainMember NSCore::DataSetProducer NSCore::QTreeItem QObject NSCore::PointerProtection_Skel
Collaboration diagram for NSDiskIO::CSVWriter:

Collaboration graph

List of all members.

Public Slots

void setFile (QString filename)
 open a file

Public Member Functions

 CSVWriter (QObject *=0)
QString ending () const
 The ending of your files.
void writeDataSet (NSCore::AcqisitionDataSet &data)
 Write a single dataset to disk.

Private Attributes


Detailed Description

write CSV-files for gnuplot

This writes CSV files which gives the posibility to load and show the waveforms in gnuplot.

Columns are: sample, ch1, ch2,...
The blocks are separated by two newlines, just as gnuplot likes it.

Constructor & Destructor Documentation

NSDiskIO::CSVWriter::CSVWriter ( QObject = 0  ) 

Member Function Documentation

QString NSDiskIO::CSVWriter::ending (  )  const [inline, virtual]

The ending of your files.

You have to return the ending of your files without the dot.


Implements NSDiskIO::AbstractWriter.

void NSDiskIO::CSVWriter::writeDataSet ( NSCore::AcqisitionDataSet data  )  [virtual]

Write a single dataset to disk.

You have to implement this function to write a dataset to disk. There is no need for other things to do, the rest will be done by customEvent of the AbstractDiskWriter

data the dataset you should write

Implements NSDiskIO::AbstractWriter.

void NSDiskIO::CSVWriter::setFile ( QString   )  [inline, virtual, slot]

open a file

Implements NSDiskIO::AbstractWriter.

Member Data Documentation

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

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