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_C TPositionInfoBase ( ) [protected]

Default constructor. Sets up class type information.

Member Functions Documentation

ModuleId()

IMPORT_C TPositionModuleId ModuleId ( ) const

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

PositionModeReason()

IMPORT_C TPositionModeReason PositionModeReason ( ) const

see PositionMode see _TPositionModeReason

SetModuleId(TPositionModuleId)

IMPORT_C void SetModuleId ( TPositionModuleId aModuleId )

Sets the Module Id stored in this class

Parameters

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

SetPositionMode(TPositionModuleInfo::TTechnologyType)

IMPORT_C void SetPositionMode ( TPositionModuleInfo::TTechnologyType aMode )

Parameters

TPositionModuleInfo::TTechnologyType aMode The 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 void SetPositionModeReason ( TPositionModeReason aReason )

Parameters

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

SetUpdateType(TPositionUpdateType)

IMPORT_C void SetUpdateType ( TPositionUpdateType aUpdateType )

Sets The update type of the position fix in this class

Parameters

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

UpdateType()

IMPORT_C TPositionUpdateType UpdateType ( ) 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.