14 #ifndef CXImageReceiverThread_H_
15 #define CXImageReceiverThread_H_
17 #include "org_custusx_core_video_Export.h"
21 #include "boost/shared_ptr.hpp"
60 virtual ImagePtr getLastImageMessage();
62 virtual QString hostDescription()
const;
70 void sonixStatusReceived();
71 void fps(QString,
double);
81 void addImageToQueue(
ImagePtr imgMsg);
86 void addImageToQueueSlot();
87 void addSonixStatusToQueueSlot();
90 void reportFPS(QString streamUid);
92 bool attemptInitialize();
94 std::map<QString, cx::CyclicActionLoggerPtr> mFPSTimer;
96 QMutex mSonixStatusMutex;
97 std::list<ImagePtr> mMutexedImageMessageQueue;
98 std::list<ProbeDefinitionPtr> mMutexedSonixStatusMessageQueue;