class CCamera::CCameraImageCapture : public CBase |
CCameraImageCapture class exposes an API for capturing the image and controlling the overall capture. This class gets created by the implementation of MCameraPreImageCaptureControl::PrepareImageCapture and passed to the client through callback MPreImageCaptureControlObserver::PrepareImageComplete. Destruction of this class is equivalent to releasing the resources owned in order to prepare and allocate memory for capturing images.
This class is not intended for sub-classing and used to standardise existing varieties of implementations.
If the class methods leave, the output type parameter value is not guaranteed to be valid.
The use of this class implies that client will be able to issue image capture call even if previous captures are still outstanding.
Clients must implement an MCaptureImageObserver in order to use this CCameraImageCapture API. MCameraObserver2::ImageBufferReady will not be used with this class.
Public Member Functions | |
---|---|
~CCameraImageCapture() | |
IMPORT_C void | CancelCaptureImage() |
IMPORT_C void | CaptureImage() |
IMPORT_C CCamera::CCameraV2Histogram * | CreateHistogramHandleL() |
IMPORT_C CCameraImageCapture * | CreateL(CCamera &, const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters &, MCaptureImageObserver &) |
IMPORT_C void | GetCaptureImagePriorityL(TECamImagePriority &) |
IMPORT_C void | GetNumImagesExposedL(TUint &) |
IMPORT_C void | GetNumTotalImagesL(TUint &) |
IMPORT_C void | GetPostCaptureControlHandleL(CCamera::CCameraPostImageCaptureControl *&, TPostCaptureControlId) |
IMPORT_C void | GetPrepareImageParametersL(CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters &) |
IMPORT_C CCamera::CCameraSnapshot * | GetSnapshotHandleL(TInt) |
IMPORT_C CCamera::CCameraImageProcessing * | GetTransformationHandleL() |
IMPORT_C void | PauseProcessing(TUint) |
IMPORT_C void | ResumeProcessingL(TUint) |
IMPORT_C void | SetCaptureImagePriorityL(TECamImagePriority) |
Private Member Functions | |
---|---|
CCameraImageCapture(CCamera &) | |
void | ConstructL(const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters &, MCaptureImageObserver &) |
MCameraImageCapture * | Impl() |
Private Attributes | |
---|---|
MCameraImageCapture * | iImpl |
CCamera & | iOwner |
CCameraImageCapture | ( | CCamera & | aOwner | ) | [private] |
CCamera & aOwner |
void | ConstructL | ( | const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters & | aPrepareImageParameters, |
MCaptureImageObserver & | aCaptureImageObserver | |||
) | [private] |
const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters & aPrepareImageParameters | |
MCaptureImageObserver & aCaptureImageObserver |
IMPORT_C CCameraImageCapture * | CreateL | ( | CCamera & | aCamera, |
const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters & | aPrepareImageParameters, | |||
MCaptureImageObserver & | aCaptureImageObserver | |||
) | [static] |
CCamera & aCamera | |
const CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters & aPrepareImageParameters | |
MCaptureImageObserver & aCaptureImageObserver |
IMPORT_C void | GetCaptureImagePriorityL | ( | TECamImagePriority & | aCaptureImagePriority | ) | const |
TECamImagePriority & aCaptureImagePriority |
IMPORT_C void | GetNumImagesExposedL | ( | TUint & | aNumImagesExposed | ) | const |
TUint & aNumImagesExposed |
IMPORT_C void | GetNumTotalImagesL | ( | TUint & | aNumTotalImages | ) | const |
TUint & aNumTotalImages |
IMPORT_C void | GetPostCaptureControlHandleL | ( | CCamera::CCameraPostImageCaptureControl *& | aPostCaptureControlHandle, |
TPostCaptureControlId | aPostCaptureControlId | |||
) | const |
CCamera::CCameraPostImageCaptureControl *& aPostCaptureControlHandle | |
TPostCaptureControlId aPostCaptureControlId |
IMPORT_C void | GetPrepareImageParametersL | ( | CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters & | aPrepareImageParameters | ) | const |
CCamera::CCameraPreImageCaptureControl::TPrepareImageParameters & aPrepareImageParameters |
IMPORT_C CCamera::CCameraSnapshot * | GetSnapshotHandleL | ( | TInt | aClientViewFinderId | ) | const |
TInt aClientViewFinderId |
IMPORT_C CCamera::CCameraImageProcessing * | GetTransformationHandleL | ( | ) | const |
IMPORT_C void | PauseProcessing | ( | TUint | aProcessingTypes | ) |
TUint aProcessingTypes |
IMPORT_C void | ResumeProcessingL | ( | TUint | aProcessingTypes | ) |
TUint aProcessingTypes |
IMPORT_C void | SetCaptureImagePriorityL | ( | TECamImagePriority | aCaptureImagePriority | ) |
TECamImagePriority aCaptureImagePriority |