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.
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.
Public Member Functions | |
---|---|
~CCameraV2DirectViewFinder() | |
IMPORT_C CCamera::CCameraV2Histogram * | CreateHistogramHandleL() |
IMPORT_C CCamera::CCameraDirectSnapshot * | GetDirectSnapshotHandleL() |
IMPORT_C void | GetDirectViewFinderPropertiesL(TInt &, TRect &, TRect &) |
IMPORT_C CCamera::CCameraImageProcessing * | GetTransformationHandleL() |
IMPORT_C void | GetViewFinderStateL(TViewFinderState &) |
IMPORT_C CCameraV2DirectViewFinder * | NewL(CCamera &, MDirectViewFinderObserver &) |
IMPORT_C void | PauseViewFinderDirect() |
IMPORT_C void | ResumeViewFinderDirect() |
IMPORT_C void | StartViewFinderDirectL(RWsSession &, CWsScreenDevice &, RWindowBase &, TRect &) |
IMPORT_C void | StartViewFinderDirectL(RWsSession &, CWsScreenDevice &, RWindowBase &, TRect &, TRect &) |
IMPORT_C void | StopDirectViewFinder() |
Private Member Functions | |
---|---|
CCameraV2DirectViewFinder(CCamera &) | |
void | ConstructL(MDirectViewFinderObserver &) |
MCameraV2DirectViewFinder * | Impl() |
void | SetImplBaseHandle() |
void | SetImplHandle() |
Public Member Enumerations | |
---|---|
enum | TViewFinderState { EViewFinderActive, EViewFinderPause, EViewFinderInActive } |
Inherited Enumerations | |
---|---|
CCameraViewFinder:TImageEnhancement | |
CCameraViewFinder:TViewFinderFadingControl | |
CCameraViewFinder:TViewFinderFadingDirection | |
CCameraViewFinder:TViewFinderFadingType |
Private Attributes | |
---|---|
MCameraV2DirectViewFinder * | iImpl |
Inherited Attributes | |
---|---|
CCameraViewFinder::iImplBase | |
CCameraViewFinder::iOwner |
CCameraV2DirectViewFinder | ( | CCamera & | aOwner | ) | [private] |
CCamera & aOwner |
void | ConstructL | ( | MDirectViewFinderObserver & | aDirectViewFinderObserver | ) | [private] |
MDirectViewFinderObserver & aDirectViewFinderObserver |
IMPORT_C void | GetDirectViewFinderPropertiesL | ( | TInt & | aScreenNumber, |
TRect & | aScreenRect, | |||
TRect & | aClipRect | |||
) | const |
IMPORT_C CCamera::CCameraImageProcessing * | GetTransformationHandleL | ( | ) | const |
IMPORT_C void | GetViewFinderStateL | ( | TViewFinderState & | aViewFinderState | ) | const |
TViewFinderState & aViewFinderState |
IMPORT_C CCameraV2DirectViewFinder * | NewL | ( | CCamera & | aOwner, |
MDirectViewFinderObserver & | aDirectViewFinderObserver | |||
) | [static] |
CCamera & aOwner | |
MDirectViewFinderObserver & aDirectViewFinderObserver |
IMPORT_C void | StartViewFinderDirectL | ( | RWsSession & | aWs, |
CWsScreenDevice & | aScreenDevice, | |||
RWindowBase & | aWindow, | |||
TRect & | aScreenRect | |||
) |
RWsSession & aWs | |
CWsScreenDevice & aScreenDevice | |
RWindowBase & aWindow | |
TRect & aScreenRect |
IMPORT_C void | StartViewFinderDirectL | ( | RWsSession & | aWs, |
CWsScreenDevice & | aScreenDevice, | |||
RWindowBase & | aWindow, | |||
TRect & | aScreenRect, | |||
TRect & | aClipRect | |||
) |
RWsSession & aWs | |
CWsScreenDevice & aScreenDevice | |
RWindowBase & aWindow | |
TRect & aScreenRect | |
TRect & aClipRect |
Specifies direct viewfinder state.
EViewFinderActive |
View Finder is activated |
EViewFinderPause |
View Finder has been paused |
EViewFinderInActive |
View Finder has been stopped or hasn't yet started. Default state. |