class TSuplTerminalQop |
This class is used to specify the desired quality of position. The quality of position includes horizontal accuracy, vertical accuracy, maximum location age and response time. By default, all these will have value as zero.
Horizontal accuracy is the radius of error estimate circle specified in meters. Horizontal accuracy reflects the error for the latitude and longitude components of a position. Vertical accuracy is the error in the altitude component. Vertical accuracy specifies a linear value at a vertical distance from the origin of the error estimate circle within which the location of the point falls. Both horizontal accuracy and vertical accuracy values are specified in meters. Maximun location age is the maximum age of the position fix that the client is willing to accept. Respone time is the desired response time after issuing location request. Maximum location age and response time are specified in seconds. Response time is also referred as delay. Horizontal accuracy can take values from 0 to 1800000. Vertical accuracy can take values from 0 to 65535. Maximum location age can take values from 0 to 65535. Respone time time can take value 1 to 65535.
Public Member Functions | |
---|---|
TSuplTerminalQop () | |
IMPORT_C TInt | Get ( TReal32 &, TReal32 &, TInt &, TInt &) |
IMPORT_C TInt | GetDelay ( TInt &) |
IMPORT_C TInt | GetHorizontalAccuracy ( TReal32 &) |
IMPORT_C TInt | GetMaxLocationAge ( TInt &) |
IMPORT_C TInt | GetVerticalAccuracy ( TReal32 &) |
IMPORT_C TInt | Set ( TReal32 , TReal32 , TInt , TInt ) |
IMPORT_C TInt | SetDelay ( TInt ) |
IMPORT_C TInt | SetHorizontalAccuracy ( TReal32 ) |
IMPORT_C TInt | SetMaxLocationAge ( TInt ) |
IMPORT_C TInt | SetVerticalAccuracy ( TReal32 ) |
Private Attributes | |
---|---|
TReal32 | iHorizontalAccuracy |
TInt | iMaxLocationAge |
TInt | iResponseTime |
TReal32 | iVerticalAccuracy |
IMPORT_C TInt | Get | ( | TReal32 & | aHorAccurary, |
TReal32 & | aVerAccuracy, | |||
TInt & | aMaxLocationAge, | |||
TInt & | aDelay | |||
) | const |
Returns QoP parameters.
IMPORT_C TInt | GetDelay | ( | TInt & | aDelay | ) | const |
Retrieves delay
TInt & aDelay |
IMPORT_C TInt | GetHorizontalAccuracy | ( | TReal32 & | aHorAccurary | ) | const |
Returns Horizontal Accuracy in meters
TReal32 & aHorAccurary |
IMPORT_C TInt | GetMaxLocationAge | ( | TInt & | aMaxLocationAge | ) | const |
Retrieves Maximum Location Age
TInt & aMaxLocationAge |
IMPORT_C TInt | GetVerticalAccuracy | ( | TReal32 & | aVerAccurary | ) | const |
Retrieves Vertical Accuracy
TReal32 & aVerAccurary |
IMPORT_C TInt | Set | ( | TReal32 | aHorAccurary, |
TReal32 | aVerAccuracy, | |||
TInt | aMaxLocationAge, | |||
TInt | aDelay | |||
) |
For horizontal accuracy reset value is KUndefinedHorizontalAccuracy
For vertical accuracy reset value is KUndefinedVerticalAccuracy
For maximum location age reset value is KUndefinedMaxLocationAge
For delay reset value is KUndefinedDelay
IMPORT_C TInt | SetDelay | ( | TInt | aDelay | ) |
Sets delay. Client can reset value by using KUndefinedDelay value for the parameter.
TInt aDelay |
IMPORT_C TInt | SetHorizontalAccuracy | ( | TReal32 | aHorAccurary | ) |
Sets horizontal accuracy. Client can reset value by using KUndefinedHorizontalAccuracy as value for the parameter.
TReal32 aHorAccurary |
IMPORT_C TInt | SetMaxLocationAge | ( | TInt | aMaxLocationAge | ) |
Sets maximum location age. Client can reset value by using KUndefinedMaxLocationAge value for the parameter.
TInt aMaxLocationAge |
IMPORT_C TInt | SetVerticalAccuracy | ( | TReal32 | aVerAccuracy | ) |
Sets vertical accuracy. Client can reset value by using KUndefinedVerticalAccuracy as value for the parameter.
TReal32 aVerAccuracy |
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.