It allows position-quality-metrics to be given priorities, enabling them to be given preference in the decision.
|
Public Types |
| enum | TOrder {
EOrderDontCare = 0,
EOrderDefault = 1,
EOrderVeryLow = 25,
EOrderLow = 50,
EOrderFairlyLow = 75,
EOrderMedium = 100,
EOrderFairlyHigh = 125,
EOrderHigh = 150,
EOrderVeryHigh = 175
} |
| | Specifies the priority of selection parameters. More...
|
| enum | TField {
EFieldTimeToFirstFix,
EFieldTimeToNextFix,
EFieldHorizontalAccuracy,
EFieldVerticalAccuracy,
EFieldCost,
EFieldPower,
EFieldNumFields,
EFieldLast = KMaxTInt8
} |
| | Specifies the quality of position metrics that can be prioritized. More...
|
Public Member Functions |
| IMPORT_C | TPositionSelectionOrder () |
| | Default constructor for TPositionSelectionOrder.
|
| IMPORT_C TInt | SetOrderTimeToFirstFix (TOrder aOrder) |
| | Assigns a priority to the time to first fix when selecting a positioning module.
|
| IMPORT_C TInt | SetOrderTimeToNextFix (TOrder aOrder) |
| | Assigns a priority to the time to subsequent fixes when selecting a positioning module.
|
| IMPORT_C TInt | SetOrderHorizontalAccuracy (TOrder aOrder) |
| | Assigns a priority to the horizontal accuracy when selecting a positioning module.
|
| IMPORT_C TInt | SetOrderVerticalAccuracy (TOrder aOrder) |
| | Assigns a priority to the vertical accuracy when selecting a positioning module.
|
| IMPORT_C TInt | SetOrderCostIndicator (TOrder aOrder) |
| | Assigns a priority to the cost of a positioning technology when selecting a positioning module.
|
| IMPORT_C TInt | SetOrderPowerConsumption (TOrder aOrder) |
| | Assigns a priority to the power consumption of a positioning technology when selecting a positioning module.
|
| IMPORT_C void | ResetSelectionOrder () |
| | Used to restore the default selection ordering.
|
| IMPORT_C void | ClearSelectionOrder () |
| | Clear all values including defaults.
|
| IMPORT_C TUint | NumSelectionItems () const |
| | Not generally called by client applications.
|
| IMPORT_C TInt | GetSelectionItem (TUint aIndex, TField &aField, TOrder &aOrder) const |
| | Not generally called by client applications.
|
Protected Member Functions |
| TInt | AddItem (TField aField, TOrder aOrder) |
Protected Attributes |
| TUint | iNumItems |
| | The number of selection items in the iItems array.
|
| SItem | iItems [KPositionMaxSectionFields] |
| | Array of users position quality priorities.
|
Data Structures |
| struct | SItem |
| | Stores a field / priority pair. More...
|