TLbsNetPosMethod Class Reference

class TLbsNetPosMethod : public TLbsNetClassTypeBase

TLbsNetPosMethod describe a positioning means (technology) and its mode of operation. It is used to by the network to request that a particilar method is used when calculating the current location. The class is also used to detail the positioning capabilities of the device.

TLbsNetDeviceCapabilities

Inherits from

Constructor & Destructor Documentation

TLbsNetPosMethod()

IMPORT_CTLbsNetPosMethod()

Default Constructor for the TLbsNetPosMethod

This class is used by specify one positioning method that the LBS susbsystem should use to obtain location information. It comprises of a positioning "means" and an associated "mode".

The positioning "means" specifies the general mechanism that should be employed. For example, GPS, Cell or EOTD. Currently only GPS is supported.

The positioning "mode" refines the specified mechanism. For example, it indicates where the calculation should be performed and if assistance information should be used or requested. In particular, the calculation can either be performed on the terminal or on the network.

For autonomous GPS, the positioning "means" should be set to KLbsPositioningMeansGps and ETechnologyTerminal specified as the "mode".

For terminal based GPS, the positioning "means" should be set to KLbsPositioningMeansGps and "ETechnologyTerminal + ETechnologyAssisted" specified as the "mode".

For terminal assisted GPS, the positioning "means" should be set to KLbsPositioningMeansGps and "ETechnologyNetwork + ETechnologyAssisted" specified as the "mode".

Member Functions Documentation

PosMeans()

IMPORT_C TUidPosMeans()const

The positioning technology (means)

Currently only GPS is support. This is indicated by the value KLbsPositioningMeansGps

PosMode()

IMPORT_C TPositionModuleInfo::TTechnologyTypePosMode()const

The positioning mode of operation for the given technology. The indicates where the calculation should be performed and if assistance information should be used or requested.

For GPS a mode of ETechnologyTerminal indicates that autonomous mode should be used by the terminal.

A mode of "ETechnologyTerminal + ETechnologyAssisted" specifies Terminal Based calculations. Whereas, "ETechnologyNetwork + ETechnologyAssisted" represents Terminal Assisted mode.

SetPosMode()

SetPosMethod(TUid, TPositionModuleInfo::TTechnologyType)

IMPORT_C voidSetPosMethod(TUidaPosMeans,
TPositionModuleInfo::TTechnologyTypeaPosMode
)

Assigns a positioning mechanism and mode for a location request.

Only GPS position technology is currently supported. Parameter aPosMeans must be set to the value KLbsPositioningMeansGps.

Parameter "aPosMode" specifies the positioning mode of operation for the given technology. This parameter indicates where the calculation should be performed and if assistance information should be used or requested.

For GPS, a mode of ETechnologyTerminal indicates that GPS autonomous mode should be used by the terminal.

A mode of "ETechnologyTerminal + ETechnologyAssisted" specifies Terminal Based calculations. Whereas, "ETechnologyNetwork + ETechnologyAssisted" represents Terminal Assisted mode.

TLbsNetPosMethod() PosMode() PosMeans()

Parameters

TUid aPosMeansThe positioning technology. This must be KLbsPositioningMeansGps
TPositionModuleInfo::TTechnologyType aPosModeThe positioning operational mode

Member Data Documentation

TUid iPosMeans

TUid iPosMeans[protected]

TPositionModuleInfo::TTechnologyType iPosMode

TPositionModuleInfo::TTechnologyType iPosMode[protected]

TUint8 iReserved

TUint8 iReserved[protected]