MPbkBackgroundProcess Class Reference

class MPbkBackgroundProcess

Abstract process divided into steps.

Constructor & Destructor Documentation

~MPbkBackgroundProcess()

~MPbkBackgroundProcess()[inline, virtual]

Virtual destructor.

Member Functions Documentation

HandleStepError(TInt)

TInt HandleStepError(TIntaError)[inline, virtual]

Handles an error (leave) occurred in StepL. Default implementation returns aError.

Parameters

TInt aErrorcode of the error that occurred.

IsProcessDone()

TBool IsProcessDone()const [pure virtual]

Returns true when this process is done.

ProcessCanceled()

voidProcessCanceled()[pure virtual]

Process cancelled.

ProcessFinished()

voidProcessFinished()[inline, virtual]

Called back by the process driver when this process is finished.

StepL()

voidStepL()[pure virtual]

Executes one cycle of the process. Called by a process driver.

TotalNumberOfSteps()

TInt TotalNumberOfSteps()[inline, virtual]

Returns the total number of steps in this process or -1 if not known.