ImageProcessor::MImgProcessorObserver Class Reference

class ImageProcessor::MImgProcessorObserver

Plugin API for the observer of CImgProcessor. When the CImgProcessor is set to EOptionNone, which means effects, geometric operations and rendering are applied asynchronously. After certain operations such as initialization or rendering finished, or after each iteration of operation, the certain function will be called, so that user can perform corresponding response.

TEvent

Member Functions Documentation

ImageProcessingComplete(CImgProcessor &, TInt)

voidImageProcessingComplete(CImgProcessor &aImageProcessor,
TIntaError
)[pure virtual]

The derived class must provide an implementation to perform actions after ImageProcessor complete its action of image processing

Parameters

CImgProcessor & aImageProcessorThe CImgProcessor which has finished the rendering
TInt aErrorany error happened in the CImgProcessor rendering process

ImageProcessorEvent(CImgProcessor &, TInt, TUid, TInt)

voidImageProcessorEvent(CImgProcessor &aImageProcessor,
TIntaEventId,
TUidaUid,
TIntaId
)[pure virtual]

During image processing, after each iteration, this function will be notified and the derived class must provide an implementation to perform actions (optional) such as showing messages to response.

Parameters

CImgProcessor & aImageProcessorThe current CImgProcessor
TInt aEventIdthe event id of the current iteration, which is defined in imageprocessor.h as TEvent enumeration, could be EEventInitializing, EEventProcessing, EEventRendering, EEventPreviewInitializing or EEventPreviewRendering,
TUid aUidThe value depends on aEventId, and reserved for future purpose
TInt aIdThe value depends on aEventId, for example, if aEventId is EEventPreviewRendering, aId will be the id of the preview.

ImageProcessorInitializingComplete(CImgProcessor &, TInt)

voidImageProcessorInitializingComplete(CImgProcessor &aImageProcessor,
TIntaError
)[pure virtual]

The derived class must provide an implementation to perform actions after ImageProcessor complete its initialization

Parameters

CImgProcessor & aImageProcessorThe CImgProcessor which has finished the initialization
TInt aErrorany error happened in the CImgProcessor initialize process

ImageProcessorPreviewInitializingComplete(CImgProcessor &, TInt, TInt)

voidImageProcessorPreviewInitializingComplete(CImgProcessor &aImageProcessor,
TIntaPreviewId,
TIntaError
)[pure virtual]

The derived class must provide an implementation to perform actions after the preview of ImageProcessor complete its initialization

Parameters

CImgProcessor & aImageProcessorThe CImgProcessor which has finished the initialization of its prview
TInt aPreviewIdthe id of the preview which has finished the initialization
TInt aErrorany error happened in the CImgProcessor preview initialize process

ImageProcessorPreviewRenderingComplete(CImgProcessor &, TInt, TInt)

voidImageProcessorPreviewRenderingComplete(CImgProcessor &aImageProcessor,
TIntaPreviewId,
TIntaError
)[pure virtual]

The derived class must provide an implementation to perform actions after the preview of ImageProcessor complete its rendering process

Parameters

CImgProcessor & aImageProcessorThe CImgProcessor which has finished the rendering of its prview
TInt aPreviewIdthe id of the preview which has finished the rendering
TInt aErrorany error happened in the CImgProcessor preview rendering process