Mercurial > hg > svcore
diff data/fft/FFTDataServer.h @ 678:948271d124ac
Make more (though still not entirely) robust in the face of running out of disc space
author | Chris Cannam |
---|---|
date | Thu, 14 Apr 2011 15:20:27 +0100 |
parents | 53e5dc8439e7 |
children | 59e7fe1b1003 |
line wrap: on
line diff
--- a/data/fft/FFTDataServer.h Thu Apr 07 15:20:35 2011 +0100 +++ b/data/fft/FFTDataServer.h Thu Apr 14 15:20:27 2011 +0100 @@ -106,6 +106,7 @@ return getMagnitudeAt(x, y) > threshold; } + QString getError() const; size_t getFillCompletion() const; size_t getFillExtent() const; @@ -246,6 +247,7 @@ size_t getExtent() const { return m_extent; } size_t getCompletion() const { return m_completion ? m_completion : 1; } + QString getError() const { return m_error; } virtual void run(); protected: @@ -253,11 +255,13 @@ size_t m_extent; size_t m_completion; size_t m_fillFrom; + QString m_error; }; bool m_exiting; bool m_suspended; FillThread *m_fillThread; + QString m_error; void deleteProcessingData(); void fillColumn(size_t x);