35 #ifndef CXImageReceiverThread_H_ 36 #define CXImageReceiverThread_H_ 38 #include "org_custusx_core_video_Export.h" 42 #include "boost/shared_ptr.hpp" 81 virtual ImagePtr getLastImageMessage();
82 virtual ProbeDefinitionPtr getLastSonixStatusMessage();
83 virtual QString hostDescription()
const;
91 void sonixStatusReceived();
92 void fps(QString,
double);
102 void addImageToQueue(
ImagePtr imgMsg);
103 void addSonixStatusToQueue(ProbeDefinitionPtr msg);
107 void addImageToQueueSlot();
108 void addSonixStatusToQueueSlot();
111 void reportFPS(QString streamUid);
113 bool attemptInitialize();
115 std::map<QString, cx::CyclicActionLoggerPtr> mFPSTimer;
117 QMutex mSonixStatusMutex;
118 std::list<ImagePtr> mMutexedImageMessageQueue;
119 std::list<ProbeDefinitionPtr> mMutexedSonixStatusMessageQueue;
123 StreamerServicePtr mStreamerInterface;
124 StreamerPtr mImageStreamer;
125 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.