#include <imageprocessor/imageprocessorobserver.h>
class ImageProcessor::MImgProcessorObserver |
Public Member Functions | |
---|---|
pure virtual void | ImageProcessingComplete(CImgProcessor &, TInt) |
pure virtual void | ImageProcessorEvent(CImgProcessor &, TInt, TUid, TInt) |
pure virtual void | ImageProcessorInitializingComplete(CImgProcessor &, TInt) |
pure virtual void | ImageProcessorPreviewInitializingComplete(CImgProcessor &, TInt, TInt) |
pure virtual void | ImageProcessorPreviewRenderingComplete(CImgProcessor &, TInt, TInt) |
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.
See also: TEvent
void | ImageProcessingComplete | ( | CImgProcessor & | aImageProcessor, |
TInt | aError | |||
) | [pure virtual] |
The derived class must provide an implementation to perform actions after ImageProcessor complete its action of image processing
Parameters | |
---|---|
aImageProcessor | The CImgProcessor which has finished the rendering |
aError | any error happened in the CImgProcessor rendering process |
void | ImageProcessorEvent | ( | CImgProcessor & | aImageProcessor, |
TInt | aEventId, | |||
TUid | aUid, | |||
TInt | aId | |||
) | [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 | |
---|---|
aImageProcessor | The current CImgProcessor |
aEventId | the event id of the current iteration, which is defined in imageprocessor.h as TEvent enumeration, could be EEventInitializing, EEventProcessing, EEventRendering, EEventPreviewInitializing or EEventPreviewRendering, |
aUid | The value depends on aEventId, and reserved for future purpose |
aId | The value depends on aEventId, for example, if aEventId is EEventPreviewRendering, aId will be the id of the preview. |
void | ImageProcessorInitializingComplete | ( | CImgProcessor & | aImageProcessor, |
TInt | aError | |||
) | [pure virtual] |
The derived class must provide an implementation to perform actions after ImageProcessor complete its initialization
Parameters | |
---|---|
aImageProcessor | The CImgProcessor which has finished the initialization |
aError | any error happened in the CImgProcessor initialize process |
void | ImageProcessorPreviewInitializingComplete | ( | CImgProcessor & | aImageProcessor, |
TInt | aPreviewId, | |||
TInt | aError | |||
) | [pure virtual] |
The derived class must provide an implementation to perform actions after the preview of ImageProcessor complete its initialization
Parameters | |
---|---|
aImageProcessor | The CImgProcessor which has finished the initialization of its prview |
aPreviewId | the id of the preview which has finished the initialization |
aError | any error happened in the CImgProcessor preview initialize process |
void | ImageProcessorPreviewRenderingComplete | ( | CImgProcessor & | aImageProcessor, |
TInt | aPreviewId, | |||
TInt | aError | |||
) | [pure virtual] |
The derived class must provide an implementation to perform actions after the preview of ImageProcessor complete its rendering process
Parameters | |
---|---|
aImageProcessor | The CImgProcessor which has finished the rendering of its prview |
aPreviewId | the id of the preview which has finished the rendering |
aError | any error happened in the CImgProcessor preview rendering process |