CustusX  2021.04.21-dev+develop.337f9
An IGT application
cx::VLCRecorder Class Reference

Lets you use the third party application VLC to record a video of the screen. More...

#include <cxVLCRecorder.h>

Inheritance diagram for cx::VLCRecorder:

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 VLCRecordergetInstance ()
 
static void initialize ()
 
static void shutdown ()
 

Detailed Description

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.

Date
Oct 10, 2013
Author
Janne Beate Bakeng, SINTEF

Definition at line 42 of file cxVLCRecorder.h.

Member Function Documentation

void cx::VLCRecorder::findVLCApplication ( QStringList  suggestedVLCLocations = QStringList())

Definition at line 60 of file cxVLCRecorder.cpp.

VLCRecorder * cx::VLCRecorder::getInstance ( )
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.

void cx::VLCRecorder::initialize ( )
static

Definition at line 34 of file cxVLCRecorder.cpp.

bool cx::VLCRecorder::isRecording ( )

Definition at line 73 of file cxVLCRecorder.cpp.

void cx::VLCRecorder::shutdown ( )
static

Definition at line 39 of file cxVLCRecorder.cpp.

void cx::VLCRecorder::startRecording ( QString  saveFile)
slot

Definition at line 93 of file cxVLCRecorder.cpp.

void cx::VLCRecorder::stateChanged ( )
signal
void cx::VLCRecorder::stopRecording ( )
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.


The documentation for this class was generated from the following files: