TSuplTerminalQop Class Reference
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.
Constructor & Destructor Documentation
TSuplTerminalQop()
IMPORT_C | TSuplTerminalQop | ( | ) | |
Member Functions Documentation
Get(TReal32 &, TReal32 &, TInt &, TInt &)
GetDelay(TInt &)
IMPORT_C TInt | GetDelay | ( | TInt & | aDelay | ) | const |
GetHorizontalAccuracy(TReal32 &)
IMPORT_C TInt | GetHorizontalAccuracy | ( | TReal32 & | aHorAccurary | ) | const |
Returns Horizontal Accuracy in meters
GetMaxLocationAge(TInt &)
IMPORT_C TInt | GetMaxLocationAge | ( | TInt & | aMaxLocationAge | ) | const |
Retrieves Maximum Location Age
GetVerticalAccuracy(TReal32 &)
IMPORT_C TInt | GetVerticalAccuracy | ( | TReal32 & | aVerAccurary | ) | const |
Retrieves Vertical Accuracy
Set(TReal32, TReal32, TInt, TInt)
Sets QoP parameters. Client can set only required parameters by specifying reset values for other parameters. Reset values are defined in epos_suplterminalconstants.h and allowed values are:
SetDelay(TInt)
Sets delay. Client can reset value by using KUndefinedDelay value for the parameter.
SetHorizontalAccuracy(TReal32)
IMPORT_C TInt | SetHorizontalAccuracy | ( | TReal32 | aHorAccurary | ) | |
SetMaxLocationAge(TInt)
IMPORT_C TInt | SetMaxLocationAge | ( | TInt | aMaxLocationAge | ) | |
SetVerticalAccuracy(TReal32)
Member Data Documentation
TReal32
iHorizontalAccuracy
TReal32
| iHorizontalAccuracy | [private] |
TInt
iMaxLocationAge
TInt
| iMaxLocationAge | [private] |
TInt
iResponseTime
TInt
| iResponseTime | [private] |
TReal32
iVerticalAccuracy
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.