CCameraViewFinder Class Reference

class CCameraViewFinder : public CBase

CCamera view finder base class is used to provide features common to both client view finders and direct view finders.

Note:

This class is not intended for stand alone use. One of the derived class shall be used instead. Features of this class will automatically be used when either direct view finder or client based view finder are created by clients.

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

Inherits from

Public Member Functions
~CCameraViewFinder()
IMPORT_C voidGetViewFinderFadingCapabilitiesL(TViewFinderFadingCapabilities &)
IMPORT_C voidGetViewFinderFadingEffectL(TViewFinderFadingEffect &)
IMPORT_C voidGetViewFinderHandleL(TInt &)
IMPORT_C voidSetViewFinderFadingEffectL(const TViewFinderFadingEffect &)
Protected Member Functions
CCameraViewFinder(CCamera &)
voidGetImageEnhancementL(TImageEnhancement &)
voidGetSpotsPositionL(TUint, RArray< TRect > &)
voidGetSupportedImageEnhancementL(TUint &)
voidGetSupportedVFMagnificationL(RArray< TUint > &)
voidGetViewfinderMagnificationL(TUint &)
voidSetImageEnhancementL(TImageEnhancement)
voidSetViewfinderMagnificationL(TUint)
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()
Public Member Enumerations
enumTImageEnhancement { EImageEnhancementNone = 0x00, EImageEnhancementSwitchOFF = 0x01, EImageEnhancementAuto = 0x02, EImageEnhancementSwitchOn = 0x04 }
enumTViewFinderFadingControl { EVFFadingControlNone = 0x00, EVFFadingControlSwitchedOn = 0x01, EVFFadingControlSwitchedOff = 0x02, EVFFadingControlSwitchAuto = 0x04 }
enumTViewFinderFadingDirection {
EVFFadingDirectionNone = 0x00, EVFFadingDirectionAuto = 0x01, EVFFadingDirectionUniform = 0x02, EVFFadingDirectionUpDown = 0x04, EVFFadingDirectionDownUp = 0x08, EVFFadingDirectionLeftRight = 0x10, EVFFadingDirectionRightLeft = 0x20
}
enumTViewFinderFadingType { EVFFadingTypeNone = 0x00, EVFFadingTypeStaticColorFading = 0x01, EVFFadingTypeStaticFrameFading = 0x02, EVFFadingTypeCross = 0x04 }
Protected Attributes
MCameraViewFinder *iImplBase
CCamera &iOwner

Constructor & Destructor Documentation

CCameraViewFinder(CCamera &)

CCameraViewFinder(CCamera &aOwner)[protected]

Parameters

CCamera & aOwner

~CCameraViewFinder()

~CCameraViewFinder()

Member Functions Documentation

GetImageEnhancementL(TImageEnhancement &)

voidGetImageEnhancementL(TImageEnhancement &aImageEnhancement)const [protected]

Parameters

TImageEnhancement & aImageEnhancement

GetSpotsPositionL(TUint, RArray< TRect > &)

voidGetSpotsPositionL(TUintaSpotCombination,
RArray< TRect > &aSpotsPosition
)const [protected]

Parameters

TUint aSpotCombination
RArray< TRect > & aSpotsPosition

GetSupportedImageEnhancementL(TUint &)

voidGetSupportedImageEnhancementL(TUint &aSupportedImageEnhancement)const [protected]

Parameters

TUint & aSupportedImageEnhancement

GetSupportedVFMagnificationL(RArray< TUint > &)

voidGetSupportedVFMagnificationL(RArray< TUint > &aSupportedVFMagnification)const [protected]

Parameters

RArray< TUint > & aSupportedVFMagnification

GetViewFinderFadingCapabilitiesL(TViewFinderFadingCapabilities &)

IMPORT_C voidGetViewFinderFadingCapabilitiesL(TViewFinderFadingCapabilities &aVFFadingCapabilities)const

Parameters

TViewFinderFadingCapabilities & aVFFadingCapabilities

GetViewFinderFadingEffectL(TViewFinderFadingEffect &)

IMPORT_C voidGetViewFinderFadingEffectL(TViewFinderFadingEffect &aCurrentVFFadingEffect)const

Parameters

TViewFinderFadingEffect & aCurrentVFFadingEffect

GetViewFinderHandleL(TInt &)

IMPORT_C voidGetViewFinderHandleL(TInt &aVFHandle)const

Parameters

TInt & aVFHandle

GetViewfinderMagnificationL(TUint &)

voidGetViewfinderMagnificationL(TUint &aVFMagnification)const [protected]

Parameters

TUint & aVFMagnification

SetImageEnhancementL(TImageEnhancement)

voidSetImageEnhancementL(TImageEnhancementaImageEnhancement)[protected]

Parameters

TImageEnhancement aImageEnhancement

SetViewFinderFadingEffectL(const TViewFinderFadingEffect &)

IMPORT_C voidSetViewFinderFadingEffectL(const TViewFinderFadingEffect &aVFFadingEffect)

Parameters

const TViewFinderFadingEffect & aVFFadingEffect

SetViewfinderMagnificationL(TUint)

voidSetViewfinderMagnificationL(TUintaVFMagnification)[protected]

Parameters

TUint aVFMagnification

Member Enumerations Documentation

Enum TImageEnhancement

Image enhancement options to be applied for a particular display. The enumeration list may be extended in future.

Enumerators

EImageEnhancementNone = 0x00

Not Supported.

EImageEnhancementSwitchOFF = 0x01

Image Enhancement switches off.

EImageEnhancementAuto = 0x02

Image Enhancement switches to auto mode.

EImageEnhancementSwitchOn = 0x04

Image Enhancement switches on.

Enum TViewFinderFadingControl

Different ways to control the viewfinder fading. The enumeration list may be extended in future.

Enumerators

EVFFadingControlNone = 0x00

Fading not supported.

EVFFadingControlSwitchedOn = 0x01

Switch on (enable) the fading.

EVFFadingControlSwitchedOff = 0x02

Switch off (disable) the fading.

EVFFadingControlSwitchAuto = 0x04

Automatic fading.

Enum TViewFinderFadingDirection

Different directions in which the fading may appear. The enumeration list may be extended in future.

Enumerators

EVFFadingDirectionNone = 0x00

Fading not supported.

EVFFadingDirectionAuto = 0x01

Automatic direction or may be even custom direction decided by implementation.

EVFFadingDirectionUniform = 0x02

Uniform fading.

EVFFadingDirectionUpDown = 0x04

Start to fade from up to down.

EVFFadingDirectionDownUp = 0x08

Start to fade from down to up.

EVFFadingDirectionLeftRight = 0x10

Start to fade from left to right.

EVFFadingDirectionRightLeft = 0x20

Start to fade from right to left.

Enum TViewFinderFadingType

Different types of available viewfinder fading. The enumeration list may be extended in future.

Enumerators

EVFFadingTypeNone = 0x00

Fading not supported.

EVFFadingTypeStaticColorFading = 0x01

Fading from a single frame of color given by the client.

EVFFadingTypeStaticFrameFading = 0x02

Fading from a single frame given by the client.

EVFFadingTypeCross = 0x04

Fading from a number of previous VF frames.

Member Data Documentation

MCameraViewFinder * iImplBase

MCameraViewFinder *iImplBase[protected]

CCamera & iOwner

CCamera &iOwner[protected]