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();
61 virtual ProbeDefinitionPtr getLastSonixStatusMessage();
62 virtual QString hostDescription()
const;
70 void sonixStatusReceived();
71 void fps(QString,
double);
81 void addImageToQueue(
ImagePtr imgMsg);
82 void addSonixStatusToQueue(ProbeDefinitionPtr msg);
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;
102 StreamerServicePtr mStreamerInterface;
103 StreamerPtr mImageStreamer;
104 DirectlyLinkedSenderPtr mSender;
boost::shared_ptr< class DirectlyLinkedSender > DirectlyLinkedSenderPtr
boost::shared_ptr< class Image > ImagePtr
Base class for receiving images from a video stream.
boost::shared_ptr< class StreamerService > StreamerServicePtr
boost::shared_ptr< class ImageReceiverThread > ImageReceiverThreadPtr
boost::shared_ptr< class ProbeDefinition > ProbeDefinitionPtr
virtual ~ImageReceiverThread()
boost::shared_ptr< class Streamer > StreamerPtr
Namespace for all CustusX production code.