Skip to content
Snippets Groups Projects
LogCompressor.h 452 B
Newer Older
  • Learn to ignore specific revisions
  • pixhawk's avatar
    pixhawk committed
    #ifndef LOGCOMPRESSOR_H
    #define LOGCOMPRESSOR_H
    
    #include <QThread>
    
    class LogCompressor : public QThread
    {
    public:
    
        LogCompressor(QString logFileName, QString outFileName="", int uasid = 0);
        bool isFinished();
        int getDataLines();
        int getCurrentLine();
    
    pixhawk's avatar
    pixhawk committed
    protected:
        void run();
        QString logFileName;
    
        QString outFileName;
        bool running;
        int currentDataLine;
        int dataLines;
    
    pixhawk's avatar
    pixhawk committed
        int uasid;
    };
    
    #endif // LOGCOMPRESSOR_H