#include <lbscriteria.h>
Link against: lbs.lib
class TPositionCriteriaBase : public TPositionClassTypeBase |
Protected Attributes | |
---|---|
TPositionModuleInfo::TCapabilities | iRequiredCaps |
TPositionQuality | iRequiredQuality |
TPositionSelectionOrder | iSelectionOrder |
Public Member Functions | |
---|---|
IMPORT_C void | AddRequiredCapabilities(TPositionModuleInfo::TCapabilities) |
IMPORT_C void | ClearCriteria() |
IMPORT_C void | ClearRequiredCapabilities() |
IMPORT_C void | GetRequiredQuality(TPositionQuality &) |
IMPORT_C void | GetSelectionOrder(TPositionSelectionOrder &) |
IMPORT_C TPositionModuleInfo::TCapabilities | RequiredCapabilities() |
IMPORT_C void | ResetCriteria() |
IMPORT_C void | SetRequiredQuality(const TPositionQuality &) |
IMPORT_C void | SetSelectionOrder(const TPositionSelectionOrder &) |
Protected Member Functions | |
---|---|
TPositionCriteriaBase() | |
TPositionCriteriaBase(TPositionModuleInfo::TCapabilities) |
Inherited Attributes | |
---|---|
TPositionClassTypeBase::iPosClassSize | |
TPositionClassTypeBase::iPosClassType |
Inherited Functions | |
---|---|
TPositionClassTypeBase::PositionClassSize()const | |
TPositionClassTypeBase::PositionClassType()const | |
TPositionClassTypeBase::TPositionClassTypeBase() |
The base class for classes used to store position module selection criteria information.
TPositionModuleInfo::TCapabilities | iRequiredCaps | [protected] |
The capabilities a positioning module must have.
TPositionQuality | iRequiredQuality | [protected] |
The quality required of a positioning module.
TPositionSelectionOrder | iSelectionOrder | [protected] |
The priorities assigned to the various quality metrics.
IMPORT_C | TPositionCriteriaBase | ( | ) | [protected] |
Constructor for the abstract base class TPositionCriteriaBase
IMPORT_C | TPositionCriteriaBase | ( | TPositionModuleInfo::TCapabilities | aCapabilityMask | ) | [protected] |
Constructor for TPositionCriteriaBase that specifies mandatory additional capabilities of the positioning module used to provide the application with position information.
Parameters | |
---|---|
aCapabilityMask | is a bit mask of values from the enumeration TPositionModuleInfo::_TCapabilities. Defaults to TPositionModuleInfo::ECapabilityHorizontal. |
IMPORT_C void | AddRequiredCapabilities | ( | TPositionModuleInfo::TCapabilities | aCapabilityMask | ) |
Specifies mandatory additional capabilities of the positioning module used to provide the application with position information.
Parameters | |
---|---|
aCapabilityMask | is a bit mask of values from the enumeration TPositionModuleInfo::_TCapabilities. |
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.
IMPORT_C void | ClearRequiredCapabilities | ( | ) |
Clears the mandatory additional capabilities of the positioning module used to provide the application with position information.
IMPORT_C void | GetRequiredQuality | ( | TPositionQuality & | aPosQuality | ) | const |
Returns any currently specified quality limits.
Parameters | |
---|---|
aPosQuality | will be set to the required quality of positioning information. |
IMPORT_C void | GetSelectionOrder | ( | TPositionSelectionOrder & | aSelectionOrder | ) | const |
Retrieves the current selection order that will be used by the positioning server in selecting a positioning module.
Parameters | |
---|---|
aSelectionOrder | will be set to the current selection ordering. |
IMPORT_C TPositionModuleInfo::TCapabilities | RequiredCapabilities | ( | ) | const |
Returns the current set of required criteria including the default.
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.
IMPORT_C void | SetRequiredQuality | ( | const TPositionQuality & | aPosQuality | ) |
Used to specify the mandatory upper bound for the quality of information that the application will accept.
Parameters | |
---|---|
aPosQuality | is the new required quality of positioning information. |
IMPORT_C void | SetSelectionOrder | ( | const TPositionSelectionOrder & | aSelectionOrder | ) |
Sets the selection order to be used by the positioning server in selecting a positioning module.
Parameters | |
---|---|
aSelectionOrder | is the new selection ordering to be used. |