RPositionerSubSessionBase Class Reference

API published in: S60 2nd Ed FP 2

Link against: lbs.lib

Capability Information

Required Capabilities

None

Exceptions

The capability Location is required in:

TInt RPositionServer::GetDefaultModuleId(TPositionModuleId& aModuleId) const;

TInt RPositionServer::GetNumModules(TUint& aNumModules) const;

TInt RPositionServer::GetModuleInfoByIndex(TInt aModuleIndex, TPositionModuleInfoBase& aModuleInfo) const;

TInt RPositionServer::GetModuleInfoById(TPositionModuleId aModuleId, TPositionModuleInfoBase& aModuleInfo) const;

TInt RPositionServer::GetModuleStatus(TPositionModuleStatusBase& aPosModuleStatus, TPositionModuleId aModuleId) const;

void RPositionServer::NotifyModuleStatusEvent(TPositionModuleStatusEventBase& aStatusEvent,TRequestStatus& aStatus,const TPositionModuleId aModuleId = KPositionNullModuleId) const;

TInt RPositioner::SetRequestor(CRequestor::TRequestorType aType,CRequestor::TRequestorFormat aFormat,const TDesC& aData);

TInt RPositioner::SetRequestor(const RRequestorStack& aRequestorStack);

TInt RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase& aPosOption);

TInt RPositioner::GetUpdateOptions(TPositionUpdateOptionsBase& aPosOption) const;

void RPositioner::GetLastKnownPosition(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;

void RPositioner::NotifyPositionUpdate(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;


#include <lbs.h>

Inherited by RPositioner.


Detailed Description

Abstract base class for all positioning sub-sessions, including RPositioner.
See also:
RPositioner.

Public Member Functions

IMPORT_C TInt  CancelRequest (TInt aRequestId)
  Cancels a previously issued asynchronous request.

Protected Member Functions

IMPORT_C  RPositionerSubSessionBase ()
virtual IMPORT_C TAny *  ExtendedInterface (TInt aFunctionNumber, TAny *aPtr1, TAny *aPtr2)

Constructor & Destructor Documentation

IMPORT_C RPositionerSubSessionBase::RPositionerSubSessionBase  )  [protected]
 

Member Function Documentation

IMPORT_C TInt RPositionerSubSessionBase::CancelRequest TInt  aRequestId  ) 
 

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.

Parameters:
aRequestId  is a number that specifies the request to be cancelled. It should be set to
Returns:
KErrNotFound if there is no outstanding request for the specified request ID.
Panic:
"Lbs Client Fault" 6 If no connection has been established with Location Server ( by calling RPositionServer::Connect() ).
virtual IMPORT_C TAny* RPositionerSubSessionBase::ExtendedInterface TInt  aFunctionNumber,
TAny *  aPtr1,
TAny *  aPtr2
[protected, virtual]
 

Reimplemented in RPositioner.


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

Copyright © Nokia Corporation 2001-2008
Back to top