Fraxinus  16.5.0-fx-rc5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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)
 
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 125 of file cxSavingVideoRecorder.h.

Constructor & Destructor Documentation

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

Definition at line 199 of file cxSavingVideoRecorder.cpp.

cx::SavingVideoRecorder::~SavingVideoRecorder ( )
virtual

Definition at line 212 of file cxSavingVideoRecorder.cpp.

Member Function Documentation

void cx::SavingVideoRecorder::cancel ( )

Definition at line 251 of file cxSavingVideoRecorder.cpp.

void cx::SavingVideoRecorder::completeSave ( )

Call to force complete the writing of data to disk.

Definition at line 278 of file cxSavingVideoRecorder.cpp.

CachedImageDataContainerPtr cx::SavingVideoRecorder::getImageData ( )

Definition at line 241 of file cxSavingVideoRecorder.cpp.

QString cx::SavingVideoRecorder::getSaveFolder ( )
inline

Definition at line 139 of file cxSavingVideoRecorder.h.

VideoSourcePtr cx::SavingVideoRecorder::getSource ( )
inline

Definition at line 145 of file cxSavingVideoRecorder.h.

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

Definition at line 246 of file cxSavingVideoRecorder.cpp.

void cx::SavingVideoRecorder::startRecord ( )
virtual

Definition at line 218 of file cxSavingVideoRecorder.cpp.

void cx::SavingVideoRecorder::stopRecord ( )
virtual

Definition at line 223 of file cxSavingVideoRecorder.cpp.


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