Location:
LbsCriteria.h
Link against: lbsselflocate.lib
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.
Defined in TPositionSelectionOrder
:
ClearSelectionOrder()
, EFieldCost
, EFieldHorizontalAccuracy
, EFieldLast
, EFieldNumFields
, EFieldPower
, EFieldTimeToFirstFix
, EFieldTimeToNextFix
, EFieldVerticalAccuracy
, EOrderDefault
, EOrderDontCare
, EOrderFairlyHigh
, EOrderFairlyLow
, EOrderHigh
, EOrderLow
, EOrderMedium
, EOrderVeryHigh
, EOrderVeryLow
, GetSelectionItem()
, NumSelectionItems()
, ResetSelectionOrder()
, SItem
, SetOrderCostIndicator()
, SetOrderHorizontalAccuracy()
, SetOrderPowerConsumption()
, SetOrderTimeToFirstFix()
, SetOrderTimeToNextFix()
, SetOrderVerticalAccuracy()
, TField
, TOrder
, TPositionSelectionOrder()
, iItems
, iNumItems
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 ClearSelectionOrder();
Clear all values including defaults. This is useful if the application wishes to specify its own priorities.
IMPORT_C TUint NumSelectionItems() const;
Not generally called by client applications. It retrieves the number of selection parameters.
|
IMPORT_C TInt GetSelectionItem(TUint aIndex, TField &aField, TOrder &aOrder) const;
Not generally called by client applications. It retrieves a particular selection parameter.
|
|
protected: struct SItem;
Stores a field / priority pair.
Defined in TPositionSelectionOrder::SItem
:
iField
, iOrder
iField
TField iField;
A position quality metric identifier.
iOrder
TOrder iOrder;
The priority given to the iField position quality metric.
TOrder
Specifies the priority of selection parameters.
|
TField
Specifies the quality of position metrics that can be prioritized.
|
protected: SItem iItems;
Array of users position quality priorities.