Gazebo Gazebo

API Reference

3.15.1
VideoRecorder Class Reference

Provides buttons for starting and stopping video recording. More...

#include <VideoRecorder.hh>

Public Slots

void OnCancel ()
 Callback when user cancels saving the recorded video. More...
 
void OnSave (const QString &_url)
 Callback when user selects a path to save the recorded video. More...
 
void OnStart (const QString &_format)
 Callback when video record start request is received. More...
 
void OnStop ()
 Callback when video record stop request is received. More...
 

Public Member Functions

 VideoRecorder ()
 Constructor. More...
 
 ~VideoRecorder () override
 Destructor. More...
 
void LoadConfig (const tinyxml2::XMLElement *_pluginElem) override
 

Detailed Description

Provides buttons for starting and stopping video recording.

Constructor & Destructor Documentation

◆ VideoRecorder()

Constructor.

◆ ~VideoRecorder()

~VideoRecorder ( )
override

Destructor.

Member Function Documentation

◆ LoadConfig()

void LoadConfig ( const tinyxml2::XMLElement *  _pluginElem)
override

◆ OnCancel

void OnCancel ( )
slot

Callback when user cancels saving the recorded video.

◆ OnSave

void OnSave ( const QString &  _url)
slot

Callback when user selects a path to save the recorded video.

Parameters
[in]_urlPath of the file to save the recorded video

◆ OnStart

void OnStart ( const QString &  _format)
slot

Callback when video record start request is received.

Parameters
[in]_formatVideo encoding format

◆ OnStop

void OnStop ( )
slot

Callback when video record stop request is received.


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