RRequestorStack 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 <lbsrequestor.h>

Detailed Description

This class is used to hold a chain of requestors identifying the clients that are involved in requesting the location information of the terminal.

For example, if a remote party is requesting the location and this is routed through a local application. In this situation, the application should identify both itself and the remote party.

Most standard applications will not use the RRequestorStack. Instead, they will call the simpler RPositioner::SetRequestor() method to identify themselves.

See also:
RPointerArray

Public Member Functions

IMPORT_C void  InternalizeL (RReadStream &aStream)
  Restores a collection of requestors from a stream.
IMPORT_C void  ExternalizeL (RWriteStream &aStream) const
  Stores a collection of requestors to a stream.

Member Function Documentation

IMPORT_C void RRequestorStack::ExternalizeL RWriteStream &  aStream  )  const
 

Stores a collection of requestors to a stream.

Parameters:
[out]  aStream  The stream to which requestors are written.
IMPORT_C void RRequestorStack::InternalizeL RReadStream &  aStream  ) 
 

Restores a collection of requestors from a stream.

Parameters:
[in]  aStream  The stream from which requestors are read.

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

Copyright © Nokia Corporation 2001-2008
Back to top