CCamera::CCameraDirectViewFinder Class Reference

class CCamera::CCameraDirectViewFinder : public CBase

CCamera direct view finder class is used to provide support for Direct View Finder functionalities like pause/resume.

Note:

This class is not intended for sub-classing and used to standardise existing varieties of implementations.

This class features are supposed to be meant for the direct viewfinder started using CCamera methods.

If the class methods leave, the output type parameter value is not guaranteed to be valid.

Inherits from

  • CCamera::CCameraDirectViewFinder

Constructor & Destructor Documentation

CCameraDirectViewFinder(CCamera &)

CCameraDirectViewFinder ( CCamera & aOwner ) [private]

Parameters

CCamera & aOwner a reference to a CCamera object providing the settings.

~CCameraDirectViewFinder()

IMPORT_C ~CCameraDirectViewFinder ( )

Destructor

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

NewL(CCamera &)

IMPORT_C CCameraDirectViewFinder * NewL ( CCamera & aOwner ) [static]

Factory function for creating the CCameraDirectViewFinder object.

leave
KErrNoMemory Out of memory Or any other system-wide error code.

Parameters

CCamera & aOwner a reference to a CCamera object providing the settings.

PauseViewFinderDirectL()

IMPORT_C void PauseViewFinderDirectL ( )

ResumeViewFinderDirectL()

IMPORT_C void ResumeViewFinderDirectL ( )

SetImplHandle()

void SetImplHandle ( ) [private]

Gets the handle to the implementer's MCameraDirectViewFinder derived class.

Member Enumerations Documentation

Enum TViewFinderState

Specifies direct viewfinder state.

Enumerators

EViewFinderActive

View Finder is activated

EViewFinderPause

View Finder has been paused

EViewFinderInActive

View Finder has been stopped or hasn't yet started. Default state.

Member Data Documentation

MCameraDirectViewFinder * iImpl

MCameraDirectViewFinder * iImpl [private]

CCamera & iOwner

CCamera & iOwner [private]