RPositionerSubSessionBase Class Reference
class RPositionerSubSessionBase : public RSubSessionBase |
Inherits from
- RPositionerSubSessionBase
Inherited Functions |
---|
| RSubSessionBase::CloseSubSession(TInt) |
| RSubSessionBase::CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &) |
| RSubSessionBase::CreateSubSession(const RSessionBase &,TInt) |
| RSubSessionBase::CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &) |
| RSubSessionBase::RSubSessionBase() |
| RSubSessionBase::Send(TInt)const |
| RSubSessionBase::Send(TInt,const TIpcArgs &)const |
| RSubSessionBase::SendReceive(TInt)const |
| RSubSessionBase::SendReceive(TInt,TRequestStatus &)const |
| RSubSessionBase::SendReceive(TInt,const TIpcArgs &)const |
| RSubSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const |
| RSubSessionBase::Session()const |
| RSubSessionBase::SubSessionHandle()const |
Detailed Description
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.
See also: RPositioner
Member Type Definition Documentation
Typedef TRequestId
Type for values defined in _TRequestId
Member Enumeration Documentation
Enum _TRequestId
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.
Enumerator | Value | Description |
---|
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
|
Constructor & Destructor Documentation
RPositionerSubSessionBase ( )
IMPORT_C | RPositionerSubSessionBase | ( | ) | [protected] |
Member Function Documentation
CancelRequest ( TRequestId )
Cancels a previously issued asynchronous request. The TRequestStatus of the original request will be set to KErrCancel if the cancellation request was successful, or any other Symbian OS error code if CancelRequest was called too late.
Parameter | Description | aRequestId | is a number that specifies the request to be cancelled. It should be set toEPositionerNotifyPositionUpdate to cancel a call to RPositioner::NotifyPositionUpdate().EPositionerGetLastKnownPosition to cancel a call to RPositioner::GetLastKnownPosition() |
Returns: KErrNotFound if there is no outstanding request for the specified request ID.
CompleteRequest ( TInt )
IMPORT_C TInt | CompleteRequest | ( | TInt | aRequestId | ) | |
ExtendedInterface ( TInt, TAny *, TAny * )
IMPORT_C TAny * | ExtendedInterface | ( | TInt | aFunctionNumber, |
| TAny * | aPtr1, |
| TAny * | aPtr2 |
| ) | [protected, virtual] |
This method is used to allow polymorphic extensions to the API without breaking BC. See documentation for explanation.
Parameter | Description | aFunctionNumber | contains the Id of the function to be invoked. |
aPtr1 | a pointer to any data |
aPtr2 | a pointer to any data. |