Improve the use of separate threads for each module

FramePropertiesDock now copies an instance of the CalypFrame that
is always kept valid until updated
This commit is contained in:
jfmcarreira committed 2021-05-29 03:14:15 +01:00
1 parent 48907ef614
commit cea720f8e9
6 files changed
+31 -38

No files matched your search

+5 -4
View File
@@ -31,7 +31,8 @@
#include "HistogramWidget.h"
#include "config.h"
#include "lib/CalypFrame.h"
#include "lib/CalypStream.h"
class CalypStream;
class FramePropertiesDock : public QWidget
{
@@ -48,10 +49,10 @@ public:
void stopHistogram();
private:
CalypFrame* m_pcFrame;
CalypFrame* m_pcSelectedFrame;
CalypFrame m_cFrame;
CalypFrame m_cSelectedFrame;
int m_iLastFrameType;
bool m_bHasFrame;
bool* m_pbIsPlaying;
QComboBox* channelCB;