CCamera::CCameraV2DirectViewFinder Class Reference

class CCamera::CCameraV2DirectViewFinder : public CCameraViewFinder

CCamera direct view finder v2 class is used to provide support for multiple Direct View Finder. A new instance of this class will be created for every new direct viewfinder.

Note:

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.

Clients must implement an MDirectViewFinderObserver in order to use this CCameraV2DirectViewFinder API.

Inherits from

Public Member Functions
~CCameraV2DirectViewFinder()
IMPORT_C CCamera::CCameraV2Histogram *CreateHistogramHandleL()
IMPORT_C CCamera::CCameraDirectSnapshot *GetDirectSnapshotHandleL()
IMPORT_C voidGetDirectViewFinderPropertiesL(TInt &, TRect &, TRect &)
IMPORT_C CCamera::CCameraImageProcessing *GetTransformationHandleL()
IMPORT_C voidGetViewFinderStateL(TViewFinderState &)
IMPORT_C CCameraV2DirectViewFinder *NewL(CCamera &, MDirectViewFinderObserver &)
IMPORT_C voidPauseViewFinderDirect()
IMPORT_C voidResumeViewFinderDirect()
IMPORT_C voidStartViewFinderDirectL(RWsSession &, CWsScreenDevice &, RWindowBase &, TRect &)
IMPORT_C voidStartViewFinderDirectL(RWsSession &, CWsScreenDevice &, RWindowBase &, TRect &, TRect &)
IMPORT_C voidStopDirectViewFinder()
Private Member Functions
CCameraV2DirectViewFinder(CCamera &)
voidConstructL(MDirectViewFinderObserver &)
MCameraV2DirectViewFinder *Impl()
voidSetImplBaseHandle()
voidSetImplHandle()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCameraViewFinder::CCameraViewFinder(CCamera &)
CCameraViewFinder::GetImageEnhancementL(TImageEnhancement &)const
CCameraViewFinder::GetSpotsPositionL(TUint,RArray< TRect > &)const
CCameraViewFinder::GetSupportedImageEnhancementL(TUint &)const
CCameraViewFinder::GetSupportedVFMagnificationL(RArray< TUint > &)const
CCameraViewFinder::GetViewFinderFadingCapabilitiesL(TViewFinderFadingCapabilities &)const
CCameraViewFinder::GetViewFinderFadingEffectL(TViewFinderFadingEffect &)const
CCameraViewFinder::GetViewFinderHandleL(TInt &)const
CCameraViewFinder::GetViewfinderMagnificationL(TUint &)const
CCameraViewFinder::SetImageEnhancementL(TImageEnhancement)
CCameraViewFinder::SetViewFinderFadingEffectL(const TViewFinderFadingEffect &)
CCameraViewFinder::SetViewfinderMagnificationL(TUint)
CCameraViewFinder::~CCameraViewFinder()
Public Member Enumerations
enumTViewFinderState { EViewFinderActive, EViewFinderPause, EViewFinderInActive }
Inherited Enumerations
CCameraViewFinder:TImageEnhancement
CCameraViewFinder:TViewFinderFadingControl
CCameraViewFinder:TViewFinderFadingDirection
CCameraViewFinder:TViewFinderFadingType
Private Attributes
MCameraV2DirectViewFinder *iImpl
Inherited Attributes
CCameraViewFinder::iImplBase
CCameraViewFinder::iOwner

Constructor & Destructor Documentation

CCameraV2DirectViewFinder(CCamera &)

CCameraV2DirectViewFinder(CCamera &aOwner)[private]

Parameters

CCamera & aOwner

~CCameraV2DirectViewFinder()

IMPORT_C~CCameraV2DirectViewFinder()

Member Functions Documentation

ConstructL(MDirectViewFinderObserver &)

voidConstructL(MDirectViewFinderObserver &aDirectViewFinderObserver)[private]

Parameters

MDirectViewFinderObserver & aDirectViewFinderObserver

CreateHistogramHandleL()

IMPORT_C CCamera::CCameraV2Histogram *CreateHistogramHandleL()const

GetDirectSnapshotHandleL()

IMPORT_C CCamera::CCameraDirectSnapshot *GetDirectSnapshotHandleL()const

GetDirectViewFinderPropertiesL(TInt &, TRect &, TRect &)

IMPORT_C voidGetDirectViewFinderPropertiesL(TInt &aScreenNumber,
TRect &aScreenRect,
TRect &aClipRect
)const

Parameters

TInt & aScreenNumber
TRect & aScreenRect
TRect & aClipRect

GetTransformationHandleL()

IMPORT_C CCamera::CCameraImageProcessing *GetTransformationHandleL()const

GetViewFinderStateL(TViewFinderState &)

IMPORT_C voidGetViewFinderStateL(TViewFinderState &aViewFinderState)const

Parameters

TViewFinderState & aViewFinderState

Impl()

MCameraV2DirectViewFinder *Impl()[private]

NewL(CCamera &, MDirectViewFinderObserver &)

IMPORT_C CCameraV2DirectViewFinder *NewL(CCamera &aOwner,
MDirectViewFinderObserver &aDirectViewFinderObserver
)[static]

Parameters

CCamera & aOwner
MDirectViewFinderObserver & aDirectViewFinderObserver

PauseViewFinderDirect()

IMPORT_C voidPauseViewFinderDirect()

ResumeViewFinderDirect()

IMPORT_C voidResumeViewFinderDirect()

SetImplBaseHandle()

voidSetImplBaseHandle()[private]

SetImplHandle()

voidSetImplHandle()[private]

StartViewFinderDirectL(RWsSession &, CWsScreenDevice &, RWindowBase &, TRect &)

IMPORT_C voidStartViewFinderDirectL(RWsSession &aWs,
CWsScreenDevice &aScreenDevice,
RWindowBase &aWindow,
TRect &aScreenRect
)

Parameters

RWsSession & aWs
CWsScreenDevice & aScreenDevice
RWindowBase & aWindow
TRect & aScreenRect

StartViewFinderDirectL(RWsSession &, CWsScreenDevice &, RWindowBase &, TRect &, TRect &)

IMPORT_C voidStartViewFinderDirectL(RWsSession &aWs,
CWsScreenDevice &aScreenDevice,
RWindowBase &aWindow,
TRect &aScreenRect,
TRect &aClipRect
)

Parameters

RWsSession & aWs
CWsScreenDevice & aScreenDevice
RWindowBase & aWindow
TRect & aScreenRect
TRect & aClipRect

StopDirectViewFinder()

IMPORT_C voidStopDirectViewFinder()

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

MCameraV2DirectViewFinder * iImpl

MCameraV2DirectViewFinder *iImpl[private]