TPositionCriteriaBase Class Reference
class TPositionCriteriaBase : public TPositionClassTypeBase
|
The base class for classes used to store position module selection criteria information.
Constructor & Destructor Documentation
TPositionCriteriaBase()
IMPORT_C
|
TPositionCriteriaBase
|
(
|
)
|
[protected]
|
TPositionCriteriaBase(TPositionModuleInfo::TCapabilities)
Constructor for
TPositionCriteriaBase
that specifies mandatory additional capabilities of the positioning module used to provide the application with position information.
Parameters
TPositionModuleInfo::TCapabilities
aCapabilityMask
|
is a bit mask of values from the enumeration TPositionModuleInfo::_TCapabilities. Defaults to TPositionModuleInfo::ECapabilityHorizontal.
|
Member Functions Documentation
AddRequiredCapabilities(TPositionModuleInfo::TCapabilities)
Specifies mandatory additional capabilities of the positioning module used to provide the application with position information.
ClearCriteria()
IMPORT_C void
|
ClearCriteria
|
(
|
)
|
|
Removes all criteria including the default values. This includes all required capabilities, all quality of position information and all selection ordering details. This is useful if horizontal position information is not required by the application.
ClearRequiredCapabilities()
IMPORT_C void
|
ClearRequiredCapabilities
|
(
|
)
|
|
Clears the mandatory additional capabilities of the positioning module used to provide the application with position information.
GetRequiredQuality(TPositionQuality &)
Returns any currently specified quality limits.
Parameters
TPositionQuality
& aPosQuality
|
will be set to the required quality of positioning information.
|
GetSelectionOrder(TPositionSelectionOrder &)
Retrieves the current selection order that will be used by the positioning server in selecting a positioning module.
RequiredCapabilities()
Returns the current set of required criteria including the default.
ResetCriteria()
IMPORT_C void
|
ResetCriteria
|
(
|
)
|
|
Used to restore the criteria to the default values. This includes the required capabilities, quality of position information and selection ordering details.
SetRequiredQuality(const TPositionQuality &)
Used to specify the mandatory upper bound for the quality of information that the application will accept.
Parameters
const
TPositionQuality
& aPosQuality
|
is the new required quality of positioning information.
|
SetSelectionOrder(const TPositionSelectionOrder &)
Sets the selection order to be used by the positioning server in selecting a positioning module.
Member Data Documentation
TPositionModuleInfo::TCapabilities
iRequiredCaps
The capabilities a positioning module must have.
TPositionQuality
iRequiredQuality
The quality required of a positioning module.
TPositionSelectionOrder
iSelectionOrder
The priorities assigned to the various quality metrics.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.