class RDirectScreenAccess : public MWsClientClass |
The interface between an application that directly accesses the screen and the window server.
Note that most applications that need to access the screen directly should use CDirectScreenAccess instead. RDirectScreenAccess only needs to be used directly by applications without access to an active scheduler.
Public Member Functions | |
---|---|
RDirectScreenAccess() | |
RDirectScreenAccess(RWsSession &) | |
IMPORT_C void | Cancel() |
IMPORT_C void | Close() |
IMPORT_C void | Completed() |
IMPORT_C TInt | Construct() |
IMPORT_C TInt | Construct(TBool) |
IMPORT_C TInt | Request(RRegion *&, TRequestStatus &, const RWindowBase &) |
Public Member Enumerations | |
---|---|
enum | TPriority { EPriorityVeryHigh = 2000 } |
enum | TTerminationReasons { ETerminateCancel, ETerminateRegion, ETerminateScreenMode, ETerminateRotation } |
Private Attributes | |
---|---|
TRequestStatus * | iDummyRequest |
CDsaMsgQueue * | iMsgQueue |
RWsSession * | iWs |
RThread | iWsThread |
Inherited Attributes | |
---|---|
MWsClientClass::iBuffer | |
MWsClientClass::iWsHandle |
IMPORT_C | RDirectScreenAccess | ( | RWsSession & | aWs | ) |
RWsSession & aWs |
IMPORT_C TInt | Construct | ( | TBool | aRegionTrackingOnly | ) |
TBool aRegionTrackingOnly |
IMPORT_C TInt | Request | ( | RRegion *& | aRegion, |
TRequestStatus & | aStatus, | |||
const RWindowBase & | aWindow | |||
) |
RRegion *& aRegion | |
TRequestStatus & aStatus | |
const RWindowBase & aWindow |
The priority of the active object that responds to notification that direct screen access must stop.
EPriorityVeryHigh = 2000 |
A suggested value for the priority of the active object that responds to notification from the window server that direct screen access must stop. This is also the value used by CDirectScreenAccess for this purpose. |
Provides the reason why direct screen access must terminate. This enum is used in the MAbortDirectScreenAccess::AbortNow() and MDirectScreenAccess::Restart() functions.
The first value (ETerminateCancel) indicates that direct screen access is being terminated by the application. The final three values indicate that direct screen access is being terminated by the window server. Note that for users of CDirectScreenAccess, the termination code is not important because these issues are dealt with by CDirectScreenAccess::StartL().
ETerminateCancel |
The application has finished direct screen access. |
ETerminateRegion |
A window is about to come in front of a part of the area that is being used for direct screen access. |
ETerminateScreenMode |
The screen's color depth (as enumerated by TDisplayMode) is about to change. |
ETerminateRotation |
The current screen mode (the combination of screen rotation and screen size) is about to change. |