CustusX
22.04-rc5
An IGT application
|
Base class for receiving images from a video stream. More...
#include <cxImageReceiverThread.h>
Public Slots | |
void | initialize () |
void | shutdown () |
Signals | |
void | imageReceived () |
void | sonixStatusReceived () |
void | fps (QString, double) |
void | finished () |
Public Member Functions | |
ImageReceiverThread (StreamerServicePtr streamerInterface, QObject *parent=NULL) | |
virtual | ~ImageReceiverThread () |
virtual ImagePtr | getLastImageMessage () |
virtual ProbeDefinitionPtr | getLastSonixStatusMessage () |
virtual QString | hostDescription () const |
Protected Member Functions | |
void | addImageToQueue (ImagePtr imgMsg) |
void | addSonixStatusToQueue (ProbeDefinitionPtr msg) |
add the message to a thread-safe queue More... | |
Base class for receiving images from a video stream.
Subclass to implement for a specific protocol. Supported messages:
Definition at line 54 of file cxImageReceiverThread.h.
cx::ImageReceiverThread::ImageReceiverThread | ( | StreamerServicePtr | streamerInterface, |
QObject * | parent = NULL |
||
) |
Definition at line 25 of file cxImageReceiverThread.cpp.
|
inlinevirtual |
Definition at line 59 of file cxImageReceiverThread.h.
|
protected |
Add the message to a thread-safe queue. Tests if the time stamps of image messages should be calibrated based on the computer clock. Time stamps only need to be synched if set on another computer that is not synched, e.g. the Ultrasonix scanner
[in] | imgMsg | Incoming image message |
Definition at line 92 of file cxImageReceiverThread.cpp.
|
protected |
add the message to a thread-safe queue
Definition at line 111 of file cxImageReceiverThread.cpp.
|
signal |
|
signal |
|
virtual |
Definition at line 119 of file cxImageReceiverThread.cpp.
|
virtual |
Definition at line 130 of file cxImageReceiverThread.cpp.
|
virtual |
Definition at line 164 of file cxImageReceiverThread.cpp.
|
signal |
|
slot |
Definition at line 32 of file cxImageReceiverThread.cpp.
|
slot |
Definition at line 67 of file cxImageReceiverThread.cpp.
|
signal |