TPositionCriteriaBase Class Reference
API published in: S60 2nd Ed FP 2
Link against: lbs.lib
Capability Information
Required Capabilities
None
Exceptions
The capability Location is required in:
TInt RPositionServer::GetDefaultModuleId(TPositionModuleId& aModuleId) const;
TInt RPositionServer::GetNumModules(TUint& aNumModules) const;
TInt RPositionServer::GetModuleInfoByIndex(TInt aModuleIndex, TPositionModuleInfoBase& aModuleInfo) const;
TInt RPositionServer::GetModuleInfoById(TPositionModuleId aModuleId, TPositionModuleInfoBase& aModuleInfo) const;
TInt RPositionServer::GetModuleStatus(TPositionModuleStatusBase& aPosModuleStatus, TPositionModuleId aModuleId) const;
void RPositionServer::NotifyModuleStatusEvent(TPositionModuleStatusEventBase& aStatusEvent,TRequestStatus& aStatus,const TPositionModuleId
aModuleId = KPositionNullModuleId) const;
TInt RPositioner::SetRequestor(CRequestor::TRequestorType aType,CRequestor::TRequestorFormat aFormat,const TDesC& aData);
TInt RPositioner::SetRequestor(const RRequestorStack& aRequestorStack);
TInt RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase& aPosOption);
TInt RPositioner::GetUpdateOptions(TPositionUpdateOptionsBase& aPosOption) const;
void RPositioner::GetLastKnownPosition(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;
void RPositioner::NotifyPositionUpdate(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;
#include <lbscriteria.h>
Inherits TPositionClassTypeBase.
Inherited by TPositionCriteria.
Detailed Description
The base class for classes used to store position module selection criteria information.
Constructor & Destructor Documentation
IMPORT_C TPositionCriteriaBase::TPositionCriteriaBase |
( |
|
) |
[protected] |
|
|
constructor with capabilities input.
- Parameters:
-
|
aCapabilityMask
|
a bitmask of values form the enumeration TPositionModuleInfo::_TCapabilities that specifies the capabilites requested by the client from the positioning module.
|
|
Member Function Documentation
|
Specifies mandatory additional capabilities of the positioning module used to provide the application with position information.
- Parameters:
-
|
IMPORT_C void TPositionCriteriaBase::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 TPositionCriteriaBase::ClearRequiredCapabilities |
( |
|
) |
|
|
|
Clears the mandatory additional capabilities of the positioning module used to provide the application with position information.
|
IMPORT_C void TPositionCriteriaBase::GetRequiredQuality |
( |
TPositionQuality &
|
aPosQuality
|
) |
const |
|
|
Get any currently specified quality limits.
- Parameters:
-
[out]
|
aPosQuality
|
will be set to the required quality of positioning information. |
|
|
Retrieves the current selection order that will be used by the positioning server in selecting a positioning module.
- Parameters:
-
[out]
|
aSelectionOrder
|
will be set to the current selection ordering. |
|
|
Returns the current set of required criteria including the default.
- Returns:
- the current set of required criteria including the default.
|
IMPORT_C void TPositionCriteriaBase::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 TPositionCriteriaBase::SetRequiredQuality |
( |
const TPositionQuality &
|
aPosQuality
|
) |
|
|
|
Set the mandatory upper bound for the quality of information that the application will accept.
- Parameters:
-
[in]
|
aPosQuality
|
is the new required quality of positioning information. |
|
|
Sets the selection order to be used by the positioning server in selecting a positioning module.
- Parameters:
-
[in]
|
aSelectionOrder
|
is the new selection ordering to be used. |
|
Field Documentation
|
The capabilities a positioning module must have.
|
|
The quality required of a positioning module.
|
|
The priorities assigned to the various quality metrics.
|
The documentation for this class was generated from the following file: