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.
Public Member Functions | |
---|---|
TPositionSelectionOrder() | |
IMPORT_C void | ClearSelectionOrder() |
IMPORT_C TInt | GetSelectionItem(TUint, TField &, TOrder &) |
IMPORT_C TUint | NumSelectionItems() |
IMPORT_C void | ResetSelectionOrder() |
IMPORT_C TInt | SetOrderCostIndicator(TOrder) |
IMPORT_C TInt | SetOrderHorizontalAccuracy(TOrder) |
IMPORT_C TInt | SetOrderPowerConsumption(TOrder) |
IMPORT_C TInt | SetOrderTimeToFirstFix(TOrder) |
IMPORT_C TInt | SetOrderTimeToNextFix(TOrder) |
IMPORT_C TInt | SetOrderVerticalAccuracy(TOrder) |
Protected Member Functions | |
---|---|
TInt | AddItem(TField, TOrder) |
Public Member Enumerations | |
---|---|
enum | TField { EFieldTimeToFirstFix, EFieldTimeToNextFix, EFieldHorizontalAccuracy, EFieldVerticalAccuracy, EFieldCost, EFieldPower, EFieldNumFields, EFieldLast = KMaxTInt8 } |
enum | TOrder { EOrderDontCare = 0, EOrderDefault = 1, EOrderVeryLow = 25, EOrderLow = 50, EOrderFairlyLow = 75, EOrderMedium = 100, EOrderFairlyHigh = 125, EOrderHigh = 150, EOrderVeryHigh = 175 } |
Protected Attributes | |
---|---|
SItem | iItems |
TUint | iNumItems |
TInt | AddItem | ( | TField | aField, |
TOrder | aOrder | |||
) | [protected] |
An internal method to add a selection criteria choice to the current set of criteria.
IMPORT_C TInt | GetSelectionItem | ( | TUint | aIndex, |
TField & | aField, | |||
TOrder & | aOrder | |||
) | const |
IMPORT_C TInt | SetOrderCostIndicator | ( | TOrder | aOrder | ) |
TOrder aOrder |
IMPORT_C TInt | SetOrderHorizontalAccuracy | ( | TOrder | aOrder | ) |
TOrder aOrder |
IMPORT_C TInt | SetOrderPowerConsumption | ( | TOrder | aOrder | ) |
TOrder aOrder |
IMPORT_C TInt | SetOrderTimeToFirstFix | ( | TOrder | aOrder | ) |
TOrder aOrder |
IMPORT_C TInt | SetOrderTimeToNextFix | ( | TOrder | aOrder | ) |
TOrder aOrder |
IMPORT_C TInt | SetOrderVerticalAccuracy | ( | TOrder | aOrder | ) |
TOrder aOrder |
Specifies the priority of selection parameters.
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 |