Newer
Older
#ifndef LOGCOMPRESSOR_H
#define LOGCOMPRESSOR_H
#include <QThread>
class LogCompressor : public QThread
{
Q_OBJECT
/** @brief Create the log compressor. It will only get active upon calling startCompression() */
LogCompressor(QString logFileName, QString outFileName="", int uasid = 0);
void startCompression();
bool isFinished();
int getDataLines();
int getCurrentLine();
QString outFileName;
bool running;
int currentDataLine;
int dataLines;
signals:
/** @brief This signal is emitted once a logfile has been finished writing
* @param fileName The name out the output (CSV) file
*/
void finishedFile(QString fileName);