lbscommon.h File 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 <e32std.h>
#include <e32math.h>
#include <LbsRequestor.h>
#include <LbsClassTypes.h>
#include <LbsErrors.h>

Go to the source code of this file.


Data Structures

class   TPositionClassTypeBase
  The base class for classes used to store position information. More...
class   TPositionQualityItem
  This is an internal class that holds the value for position quality attributes. More...
class   TPositionQualityBase
  The base class for classes used to store position quality information. More...
class   TPositionQuality
  The standard position quality class. More...
class   TPositionModuleInfoBase
  The base class for classes storing information about positioning modules. More...
class   TPositionModuleInfo
  The standard class for storing information about positioning modules. More...
class   TPositionModuleStatusBase
  The base class for classes storing a position module's status. More...
class   TPositionModuleStatus
  The normal class for storing a position module's status. More...
class   TPositionModuleStatusEventBase
  The base class for classes storing position module status events. More...
class   TPositionModuleStatusEvent
  The normal class for storing position module status events. More...
class   TPositionUpdateOptionsBase
  The base class for classes storing position update options This class is used to change the behavior of RPositioner::NotifyPositionUpdate(). More...
class   TPositionUpdateOptions
  The normal class for storing position update options. More...

Defines

#define  POSITION_COMPILE_TIME_ASSERT(aExpr)   typedef char assert_type[(aExpr) ? 1 : -1]

Typedefs

typedef TUid  TPositionModuleId
  The unique identifier for a Positioning module.

Variables

const TInt  KPositionMaxModuleName = 64
  Defines the maximum length for a Positioning module name.
const TUint  KPositionMaxSizeQualityItem = sizeof(TInt64)
  Defines the maximum size of the value for position quality parameters like accuracy , speed etc.
const TUint  KPositionMaxSectionFields = 10
  Defines the maximum number of quality fields like Accuracy , Speed etc that can be there in a TPositionQuality class.
const TPositionModuleId  KPositionNullModuleId = {KNullUidValue}
  Defines the NULL module Id.

Define Documentation

#define POSITION_COMPILE_TIME_ASSERT aExpr   )     typedef char assert_type[(aExpr) ? 1 : -1]
 

Typedef Documentation

TPositionModuleId
 

The unique identifier for a Positioning module.


Variable Documentation

const TInt KPositionMaxModuleName = 64
 

Defines the maximum length for a Positioning module name.

const TUint KPositionMaxSectionFields = 10
 

Defines the maximum number of quality fields like Accuracy , Speed etc that can be there in a TPositionQuality class.

const TUint KPositionMaxSizeQualityItem = sizeof(TInt64)
 

Defines the maximum size of the value for position quality parameters like accuracy , speed etc.

const TPositionModuleId KPositionNullModuleId = {KNullUidValue}
 

Defines the NULL module Id.


Copyright © Nokia Corporation 2001-2008
Back to top