TPositionSelectionOrder Class Reference

class TPositionSelectionOrder

This class is used as part of the TPositionCriteria class to chose a positioning module that will provide the desired quality of information. It allows position-quality-metrics to be given priorities, enabling them to be given preference in the decision.

Nested Classes and Structures

Constructor & Destructor Documentation

TPositionSelectionOrder()

IMPORT_CTPositionSelectionOrder()

Member Functions Documentation

AddItem(TField, TOrder)

TInt AddItem(TFieldaField,
TOrderaOrder
)[protected]

An internal method to add a selection criteria choice to the current set of criteria.

Parameters

TField aField
TOrder aOrder

ClearSelectionOrder()

IMPORT_C voidClearSelectionOrder()

GetSelectionItem(TUint, TField &, TOrder &)

IMPORT_C TIntGetSelectionItem(TUintaIndex,
TField &aField,
TOrder &aOrder
)const

Parameters

TUint aIndex
TField & aField
TOrder & aOrder

NumSelectionItems()

IMPORT_C TUintNumSelectionItems()const

ResetSelectionOrder()

IMPORT_C voidResetSelectionOrder()

SetOrderCostIndicator(TOrder)

IMPORT_C TIntSetOrderCostIndicator(TOrderaOrder)

Parameters

TOrder aOrder

SetOrderHorizontalAccuracy(TOrder)

IMPORT_C TIntSetOrderHorizontalAccuracy(TOrderaOrder)

Parameters

TOrder aOrder

SetOrderPowerConsumption(TOrder)

IMPORT_C TIntSetOrderPowerConsumption(TOrderaOrder)

Parameters

TOrder aOrder

SetOrderTimeToFirstFix(TOrder)

IMPORT_C TIntSetOrderTimeToFirstFix(TOrderaOrder)

Parameters

TOrder aOrder

SetOrderTimeToNextFix(TOrder)

IMPORT_C TIntSetOrderTimeToNextFix(TOrderaOrder)

Parameters

TOrder aOrder

SetOrderVerticalAccuracy(TOrder)

IMPORT_C TIntSetOrderVerticalAccuracy(TOrderaOrder)

Parameters

TOrder aOrder

Member Enumerations Documentation

Enum TField

Specifies the quality of position metrics that can be prioritized.

Enumerators

EFieldTimeToFirstFix

Time to first fix

EFieldTimeToNextFix

Time to next fix

EFieldHorizontalAccuracy

Field Horizontal Accuracy

EFieldVerticalAccuracy

Field Vertical Accuracy

EFieldCost

Field cost

EFieldPower

Field power

EFieldNumFields

Number of fields

EFieldLast = KMaxTInt8

Last field

Enum TOrder

Specifies the priority of selection parameters.

Enumerators

EOrderDontCare = 0

Don't care

EOrderDefault = 1

Default

EOrderVeryLow = 25

Very low

EOrderLow = 50

Low

EOrderFairlyLow = 75

Fairly low

EOrderMedium = 100

Medium

EOrderFairlyHigh = 125

Fairly high

EOrderHigh = 150

High

EOrderVeryHigh = 175

Very high

Member Data Documentation

SItem iItems

SItem iItems[protected]

Array of users position quality priorities.

TUint iNumItems

TUint iNumItems[protected]

The number of selection items in the iItems array.