AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
avtranscoder::IProgress Class Referenceabstract

Base class of Progress. Inherit this class to have your own way to manage a progress bar. You can inherit this class in C++, but also in python / Java binding. More...

#include <IProgress.hpp>

Public Member Functions

virtual ~IProgress ()
 
virtual EJobStatus progress (const double processedDuration, const double programDuration)=0
 Manage the progress. More...
 

Detailed Description

Base class of Progress. Inherit this class to have your own way to manage a progress bar. You can inherit this class in C++, but also in python / Java binding.

Definition at line 23 of file IProgress.hpp.

Constructor & Destructor Documentation

virtual avtranscoder::IProgress::~IProgress ( )
inlinevirtual

Definition at line 26 of file IProgress.hpp.

Member Function Documentation

virtual EJobStatus avtranscoder::IProgress::progress ( const double  processedDuration,
const double  programDuration 
)
pure virtual

Manage the progress.

Parameters
processedDurationwhat is processed
programDurationwhat you need to process (the totality)
Returns
return EJobStatus to manage the process (continuing, stopping, paused, etc)

Implemented in avtranscoder::ConsoleProgress, and avtranscoder::NoDisplayProgress.

Referenced by avtranscoder::Transcoder::process().


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