The class that handles some signals. More...
Signals | |
void | internalSendFrame (QVideoFrame) |
void | sendFrame (QVideoFrame *) |
void | sendFps (double portAvg, double portMin, double portMax, double dispAvg, double dispMin, double dispMax) |
void | selfStartTimer () |
void | testSignal () |
Public Member Functions | |
SignalHandler (QObject *parent=0) | |
~SignalHandler () | |
void | sendVideoFrame (QVideoFrame) |
Gets a videoframe. | |
void | synchDisplayPeriod (bool check) |
Enable/Disable the synch mode. | |
void | synchDisplaySize (bool check) |
Enable/Disable the synch size mode. | |
void | changeRefreshInterval (int ineterval) |
Sets the refresh interval. | |
void | freeze (bool check) |
Enable/Disable the freeze mode. | |
void | saveCurrentFrame () |
Enable the save curretn frame mode. | |
void | setFileName (QUrl url) |
Sets the filename used for saving a video frame. | |
void | setFileNames (QUrl url) |
Sets the filename used for saving a video frame set. | |
void | startDumpFrames () |
Enables the Dump frame modality (Save frame set). | |
void | stopDumpFrames () |
Stops the Dump frame modality (Save frame set). | |
bool | getAutosizeMode () |
The class that handles some signals.
This class is used to unlock the backend thread from the GUI thread. It is mainly used for receive the frame from the callback and then redirect the signal to its own thread using a connection in Qt::QueuedConnection modality
Definition at line 22 of file signalhandler.h.
|
explicit |
Definition at line 12 of file signalhandler.cpp.
SignalHandler::~SignalHandler | ( | ) |
Definition at line 47 of file signalhandler.cpp.
void SignalHandler::changeRefreshInterval | ( | int | interval | ) |
void SignalHandler::freeze | ( | bool | check | ) |
bool SignalHandler::getAutosizeMode | ( | ) |
Definition at line 151 of file signalhandler.cpp.
|
signal |
void SignalHandler::saveCurrentFrame | ( | ) |
Enable the save curretn frame mode.
Definition at line 186 of file signalhandler.cpp.
|
signal |
|
signal |
|
signal |
void SignalHandler::sendVideoFrame | ( | QVideoFrame | f | ) |
Gets a videoframe.
this function gets a videframe and redirect it to itself
f | The FrameVideo |
Definition at line 76 of file signalhandler.cpp.
void SignalHandler::setFileName | ( | QUrl | url | ) |
Sets the filename used for saving a video frame.
url | url to the file |
Definition at line 195 of file signalhandler.cpp.
void SignalHandler::setFileNames | ( | QUrl | url | ) |
Sets the filename used for saving a video frame set.
url | url to the file |
Definition at line 291 of file signalhandler.cpp.
void SignalHandler::startDumpFrames | ( | ) |
Enables the Dump frame modality (Save frame set).
Definition at line 299 of file signalhandler.cpp.
void SignalHandler::stopDumpFrames | ( | ) |
Stops the Dump frame modality (Save frame set).
Definition at line 306 of file signalhandler.cpp.
void SignalHandler::synchDisplayPeriod | ( | bool | check | ) |
void SignalHandler::synchDisplaySize | ( | bool | check | ) |
Enable/Disable the synch size mode.
check |
Definition at line 146 of file signalhandler.cpp.
|
signal |