CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
Lets you use the third party application VLC to record a video of the screen. More...
#include <cxVLCRecorder.h>
Public Slots | |
void | startRecording (QString saveFile) |
void | stopRecording () |
Signals | |
void | stateChanged () |
Public Member Functions | |
bool | hasVLCApplication () |
void | findVLCApplication (QStringList suggestedVLCLocations=QStringList()) |
QString | getVLCPath () |
bool | isRecording () |
bool | waitForStarted (int msecs=30000) |
bool | waitForFinished (int msecs=30000) |
Static Public Member Functions | |
static VLCRecorder * | getInstance () |
static void | initialize () |
static void | shutdown () |
Lets you use the third party application VLC to record a video of the screen.
Is implemented as a singleton because there should only be one instance of the application VLC running at all times.
Definition at line 42 of file cxVLCRecorder.h.
void cx::VLCRecorder::findVLCApplication | ( | QStringList | suggestedVLCLocations = QStringList() | ) |
Definition at line 60 of file cxVLCRecorder.cpp.
|
static |
Definition at line 25 of file cxVLCRecorder.cpp.
QString cx::VLCRecorder::getVLCPath | ( | ) |
Definition at line 88 of file cxVLCRecorder.cpp.
bool cx::VLCRecorder::hasVLCApplication | ( | ) |
Definition at line 55 of file cxVLCRecorder.cpp.
|
static |
Definition at line 34 of file cxVLCRecorder.cpp.
bool cx::VLCRecorder::isRecording | ( | ) |
Definition at line 73 of file cxVLCRecorder.cpp.
|
static |
Definition at line 39 of file cxVLCRecorder.cpp.
|
slot |
Definition at line 93 of file cxVLCRecorder.cpp.
|
signal |
|
slot |
Definition at line 101 of file cxVLCRecorder.cpp.
bool cx::VLCRecorder::waitForFinished | ( | int | msecs = 30000 | ) |
Definition at line 83 of file cxVLCRecorder.cpp.
bool cx::VLCRecorder::waitForStarted | ( | int | msecs = 30000 | ) |
Definition at line 78 of file cxVLCRecorder.cpp.