Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cx::SavingVideoRecorder Class Reference

Recorder for a VideoSource. More...

#include <cxSavingVideoRecorder.h>

Inheritance diagram for cx::SavingVideoRecorder:

Public Member Functions

 SavingVideoRecorder (VideoSourcePtr source, QString saveFolder, QString prefix, bool compressed, bool writeColor, FileManagerServicePtr filemanagerservice)
 
virtual ~SavingVideoRecorder ()
 
virtual void startRecord ()
 
virtual void stopRecord ()
 
void cancel ()
 
CachedImageDataContainerPtr getImageData ()
 
std::vector< TimeInfogetTimestamps ()
 
QString getSaveFolder ()
 
void completeSave ()
 
VideoSourcePtr getSource ()
 

Detailed Description

Recorder for a VideoSource.

Record all frames from the input source and store them in an internal buffer. Simultaneously save the data to disk continously using a VideoRecorderSaveThread.

Replacement for the overly complicated class VideoRecorder

Date
Dwc 2, 2012
Author
christiana

Definition at line 104 of file cxSavingVideoRecorder.h.

Constructor & Destructor Documentation

cx::SavingVideoRecorder::SavingVideoRecorder ( VideoSourcePtr  source,
QString  saveFolder,
QString  prefix,
bool  compressed,
bool  writeColor,
FileManagerServicePtr  filemanagerservice 
)

Definition at line 178 of file cxSavingVideoRecorder.cpp.

cx::SavingVideoRecorder::~SavingVideoRecorder ( )
virtual

Definition at line 191 of file cxSavingVideoRecorder.cpp.

Member Function Documentation

void cx::SavingVideoRecorder::cancel ( )

Definition at line 230 of file cxSavingVideoRecorder.cpp.

void cx::SavingVideoRecorder::completeSave ( )

Call to force complete the writing of data to disk.

Definition at line 257 of file cxSavingVideoRecorder.cpp.

CachedImageDataContainerPtr cx::SavingVideoRecorder::getImageData ( )

Definition at line 220 of file cxSavingVideoRecorder.cpp.

QString cx::SavingVideoRecorder::getSaveFolder ( )
inline

Definition at line 118 of file cxSavingVideoRecorder.h.

VideoSourcePtr cx::SavingVideoRecorder::getSource ( )
inline

Definition at line 124 of file cxSavingVideoRecorder.h.

std::vector< TimeInfo > cx::SavingVideoRecorder::getTimestamps ( )

Definition at line 225 of file cxSavingVideoRecorder.cpp.

void cx::SavingVideoRecorder::startRecord ( )
virtual

Definition at line 197 of file cxSavingVideoRecorder.cpp.

void cx::SavingVideoRecorder::stopRecord ( )
virtual

Definition at line 202 of file cxSavingVideoRecorder.cpp.


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