class RPositionerSubSessionBase : public RSubSessionBase |
Abstract base class for all positioning sub-sessions, including RPositioner.
Asynchronous requests issued from derived classess are cancelled using the method CancelRequest() with a value from the enumeration _TReqestId corresponding to the particular operation being cancelled.
Public Member Functions | |
---|---|
IMPORT_C TInt | CancelRequest(TRequestId) |
IMPORT_C TInt | CompleteRequest(TInt) |
Protected Member Functions | |
---|---|
RPositionerSubSessionBase() | |
IMPORT_C TAny * | ExtendedInterface(TInt, TAny *, TAny *) |
Public Member Enumerations | |
---|---|
enum | _TRequestId { EReqUnknown = 0, EReqGetLastKnownPosition = 1, EReqGetLastKnownPositionArea = 2, EReqNotifyPositionUpdate = 3 } |
Public Member Type Definitions | |
---|---|
typedef | TInt TRequestId |
Private Attributes | |
---|---|
TAny * | iReserved |
IMPORT_C TInt | CancelRequest | ( | TRequestId | aRequestId | ) |
TRequestId aRequestId |
IMPORT_C TAny * | ExtendedInterface | ( | TInt | aFunctionNumber, |
TAny * | aPtr1, | |||
TAny * | aPtr2 | |||
) | [protected, virtual] |
Identification numbers used for cancelling requests. Note that the TRequestId enum may be extended in the future by adding more enumerated values. To maintain compatibility any unrecognized values must be handled as EReqUnknown.
EReqUnknown = 0 |
Unknown/undefined Id |
EReqGetLastKnownPosition = 1 |
The id of the GetLastKnownPosition request |
EReqGetLastKnownPositionArea = 2 |
The id of the GetLastKnownPositionArea request |
EReqNotifyPositionUpdate = 3 |
The id of the ReqNotifyPositionUpdate request |