Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
CCameraStatusWatch Class Reference

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. More...

#include <ecam.h>

Inheritance diagram for CCameraStatusWatch:
CActive CBase

Public Member Functions

IMPORT_C ~CCameraStatusWatch ()
 Destructor.
 
- Public Member Functions inherited from CActive
IMPORT_C ~CActive ()
 Frees resources prior to destruction.
 
IMPORT_C void Cancel ()
 Cancels the wait for completion of an outstanding request.
 
IMPORT_C void Deque ()
 Removes the active object from the active scheduler's list of active objects.
 
IMPORT_C void SetPriority (TInt aPriority)
 Sets the priority of the active object.
 
TBool IsActive () const
 Determines whether the active object has a request outstanding.
 
TBool IsAdded () const
 Determines whether the active object has been added to the active scheduler's list of active objects.
 
TInt Priority () const
 Gets the priority of the active object.
 
- Public Member Functions inherited from CBase
 CBase ()
 Default constructor.
 
virtual IMPORT_C ~CBase ()
 Virtual destructor.
 
TAny * operator new (TUint aSize, TAny *aBase) __NO_THROW
 Initialises the object to binary zeroes.
 
TAny * operator new (TUint aSize) __NO_THROW
 Allocates the object from the heap and then initialises its contents to binary zeroes.
 
TAny * operator new (TUint aSize, TLeave)
 Allocates the object from the heap and then initialises its contents to binary zeroes.
 
TAny * operator new (TUint aSize, TUint aExtraSize) __NO_THROW
 Allocates the object from the heap and then initialises its contents to binary zeroes.
 
TAny * operator new (TUint aSize, TLeave, TUint aExtraSize)
 Allocates the object from the heap and then initialises its contents to binary zeroes.
 

Static Public Member Functions

static CCameraStatusWatch * NewL (MReserveObserver &aReserveObserver, TInt aCameraIndex, TInt aSecureId)
 Used to create the CCameraStatusWatch class object.
 
- Static Public Member Functions inherited from CBase
static IMPORT_C void Delete (CBase *aPtr)
 Deletes the specified object.
 

Additional Inherited Members

- Public Types inherited from CActive
enum  TPriority {
  EPriorityIdle =-100 , EPriorityLow =-20 , EPriorityStandard =0 , EPriorityUserInput =10 ,
  EPriorityHigh =20
}
 Defines standard priorities for active objects. More...
 
- Public Attributes inherited from CActive
TRequestStatus iStatus
 The request status associated with an asynchronous request.
 
- Protected Member Functions inherited from CActive
IMPORT_C CActive (TInt aPriority)
 Constructs the active object with the specified priority.
 
IMPORT_C void SetActive ()
 Indicates that the active object has issued a request and that it is now outstanding.
 
virtual IMPORT_C TInt RunError (TInt aError)
 Handles a leave occurring in the request completion event handler RunL().
 
virtual IMPORT_C TInt Extension_ (TUint aExtensionId, TAny *&a0, TAny *a1)
 Extension function.
 

Detailed Description

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.

Definition at line 1882 of file ecam.h.

Constructor & Destructor Documentation

◆ ~CCameraStatusWatch()

IMPORT_C CCameraStatusWatch::~CCameraStatusWatch ( )

Destructor.

The destructor has to be called by the client when it does not need the desired reserve notifications any more.

(generated from Symbian Developer Library)

Member Function Documentation

◆ NewL()

static CCameraStatusWatch * CCameraStatusWatch::NewL ( MReserveObserver &  aReserveObserver,
TInt  aCameraIndex,
TInt  aSecureId 
)
static

Used to create the CCameraStatusWatch class object.

This is needed by the method TReservedInfo::SubscribeReserveInfoL in order to grab the reserve notification from the ECam implementation and hence further forward it to the observer MReserveObserver.

Parameters
aReserveObserverReference to an observer.
aCameraIndexThe camera index for which the subscription is needed.
aSecureIdThe secure ID of the process where serialized part of the ECam implementation runs.

Leave condition: May leave with any error code

(generated from Symbian Developer Library)


The documentation for this class was generated from the following files: