CCameraStatusWatch Class Reference
class CCameraStatusWatch : public CActive
|
An active object class implemented by Symbian and used to subscribe for the updates in the Properties, retrieve the Properties and forward the notification to the client.
Note:
Serialized part of the ECam implementation is assumed to define the Properties and publish them whenever there is change in the reserve status.
Constructor & Destructor Documentation
CCameraStatusWatch(MReserveObserver &, TInt, TInt)
~CCameraStatusWatch()
IMPORT_C
|
~CCameraStatusWatch
|
(
|
)
|
|
Destructor. The destructor has to be called by the client when it does not need the desired reserve notifications any more.
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Second Phase Constructor. Attaches to the Property as implied by the camera index, adds the active object to the active scheduler list and kicks off the RunL.
-
leave
-
May leave with any error code
Note:
Serialized part of the ECam implementation is assumed to define the Properties and publish them whenever there is change in the reserve status.
DoCancel()
void
|
DoCancel
|
(
|
)
|
[private, virtual]
|
Cancels any outstanding subscription.
NewL(MReserveObserver &, TInt, TInt)
Parameters
MReserveObserver
& aReserveObserver
|
Reference to an observer.
|
TInt
aCameraIndex
|
The camera index for which the subscription is needed.
|
TInt
aSecureId
|
The secure ID of the process where serialized part of the ECam implementation runs.
|
RunL()
void
|
RunL
|
(
|
)
|
[private, virtual]
|
Re-issues the subscription notice. Checks the updated value of the Property and notifies the client via
MReserveObserver
.
Note:
Serialized part of the ECam implementation is assumed to define the Properties and publish them whenever there is change in the reserve status.
Member Data Documentation
TInt
iCameraIndex
TInt
|
iCameraIndex
|
[private]
|
MReserveObserver & iReserveObserver
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.