TPositionInfoBase Class Reference

class TPositionInfoBase : public TPositionClassTypeBase

This class provides the interface used by RPositioner to get a location fix, and as such all classes used to get location info from the location server should derive from this class.

Class contains info about the update type and the ID of the module that gave the location fix

Inherits from

Constructor & Destructor Documentation

TPositionInfoBase()

IMPORT_CTPositionInfoBase()[protected]

Default constructor. Sets up class type information.

Member Functions Documentation

ModuleId()

IMPORT_C TPositionModuleIdModuleId()const

Returns the module Id of the module that gave the position fix

PositionMode()

IMPORT_C TPositionModuleInfo::TTechnologyTypePositionMode()const

PositionModeReason()

IMPORT_C TPositionModeReasonPositionModeReason()const

see PositionMode see _TPositionModeReason

SetModuleId(TPositionModuleId)

IMPORT_C voidSetModuleId(TPositionModuleIdaModuleId)

Sets the Module Id stored in this class

Parameters

TPositionModuleId aModuleIdModule Id stored in this class is set to aModuleId.

SetPositionMode(TPositionModuleInfo::TTechnologyType)

IMPORT_C voidSetPositionMode(TPositionModuleInfo::TTechnologyTypeaMode)

Parameters

TPositionModuleInfo::TTechnologyType aModeThe mode used to calculate the position fix contained in this class. For example, terminal only (autonomous), terminal-assisted, network only or network-assisted.

SetPositionModeReason(TPositionModeReason)

IMPORT_C voidSetPositionModeReason(TPositionModeReasonaReason)

Parameters

TPositionModeReason aReasonThe mode used to calculate the position fix contained in this class was different from the prefered mode.

SetUpdateType(TPositionUpdateType)

IMPORT_C voidSetUpdateType(TPositionUpdateTypeaUpdateType)

Sets The update type of the position fix in this class

Parameters

TPositionUpdateType aUpdateTypeThe update type of the position fix in this class is set to this.

UpdateType()

IMPORT_C TPositionUpdateTypeUpdateType()const

Returns the update type of the position fix.

Member Data Documentation

TPositionModuleId iModuleId

TPositionModuleId iModuleId[protected]

The Id of the module that gave the location fix.

TPositionModuleInfo::TTechnologyType iPositionMode

TPositionModuleInfo::TTechnologyType iPositionMode[protected]

The positioning mode used to calculate this location fix.

TPositionModeReason iPositionModeReason

TPositionModeReason iPositionModeReason[protected]

The reason why the prefered position mode was not used.

TUint8 iReserved

TUint8 iReserved[private]

Unused variable for future expansion.

TUint32 iUpdateType

TUint32 iUpdateType[protected]

The type of update that this location fix represents.