AP4_Processor::ProgressListener Class Reference

Abstract class that defines the interface implemented by progress listeners. More...

#include <Ap4Processor.h>

List of all members.

Public Member Functions

virtual ~ProgressListener ()
virtual AP4_Result OnProgress (unsigned int step, unsigned int total)=0
 This method is called during the call to AP4_Processor::Process() to notify of the progress of the operation.


Detailed Description

Abstract class that defines the interface implemented by progress listeners.

A progress listener is called during the AP4_Processor::Process() method to notify of progres information.

Definition at line 57 of file Ap4Processor.h.


Constructor & Destructor Documentation

virtual AP4_Processor::ProgressListener::~ProgressListener (  )  [inline, virtual]

Definition at line 59 of file Ap4Processor.h.


Member Function Documentation

virtual AP4_Result AP4_Processor::ProgressListener::OnProgress ( unsigned int  step,
unsigned int  total 
) [pure virtual]

This method is called during the call to AP4_Processor::Process() to notify of the progress of the operation.

If this method returns an error result, processing is aborted.

Parameters:
step Ordinal of the current progress step.
total Total number of steps.
Returns:
A result code. If this method returns AP4_SUCCESS, the processing continues. If an error code is returned, the processing is aborted.


The documentation for this class was generated from the following file:
Generated on Thu Mar 15 16:07:44 2007 for Bento4 MP4 SDK by  doxygen 1.5.1-p1