TSuplTerminalQop Class Reference

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.

Constructor & Destructor Documentation

TSuplTerminalQop()

IMPORT_CTSuplTerminalQop()

Constructor for TSuplTerminalQop

Member Functions Documentation

Get(TReal32 &, TReal32 &, TInt &, TInt &)

IMPORT_C TIntGet(TReal32 &aHorAccurary,
TReal32 &aVerAccuracy,
TInt &aMaxLocationAge,
TInt &aDelay
)const

Returns QoP parameters.

Parameters

TReal32 & aHorAccurary
TReal32 & aVerAccuracy
TInt & aMaxLocationAge
TInt & aDelay

GetDelay(TInt &)

IMPORT_C TIntGetDelay(TInt &aDelay)const

Retrieves delay

Parameters

TInt & aDelay

GetHorizontalAccuracy(TReal32 &)

IMPORT_C TIntGetHorizontalAccuracy(TReal32 &aHorAccurary)const

Returns Horizontal Accuracy in meters

Parameters

TReal32 & aHorAccurary

GetMaxLocationAge(TInt &)

IMPORT_C TIntGetMaxLocationAge(TInt &aMaxLocationAge)const

Retrieves Maximum Location Age

Parameters

TInt & aMaxLocationAge

GetVerticalAccuracy(TReal32 &)

IMPORT_C TIntGetVerticalAccuracy(TReal32 &aVerAccurary)const

Retrieves Vertical Accuracy

Parameters

TReal32 & aVerAccurary

Set(TReal32, TReal32, TInt, TInt)

IMPORT_C TIntSet(TReal32aHorAccurary,
TReal32aVerAccuracy,
TIntaMaxLocationAge,
TIntaDelay
)
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:

Parameters

TReal32 aHorAccurary
TReal32 aVerAccuracy
TInt aMaxLocationAge
TInt aDelay

SetDelay(TInt)

IMPORT_C TIntSetDelay(TIntaDelay)

Sets delay. Client can reset value by using KUndefinedDelay value for the parameter.

Parameters

TInt aDelay

SetHorizontalAccuracy(TReal32)

IMPORT_C TIntSetHorizontalAccuracy(TReal32aHorAccurary)

Sets horizontal accuracy. Client can reset value by using KUndefinedHorizontalAccuracy as value for the parameter.

Parameters

TReal32 aHorAccurary

SetMaxLocationAge(TInt)

IMPORT_C TIntSetMaxLocationAge(TIntaMaxLocationAge)

Sets maximum location age. Client can reset value by using KUndefinedMaxLocationAge value for the parameter.

Parameters

TInt aMaxLocationAge

SetVerticalAccuracy(TReal32)

IMPORT_C TIntSetVerticalAccuracy(TReal32aVerAccuracy)

Sets vertical accuracy. Client can reset value by using KUndefinedVerticalAccuracy as value for the parameter.

Parameters

TReal32 aVerAccuracy

Member Data Documentation

TReal32 iHorizontalAccuracy

TReal32 iHorizontalAccuracy[private]

TInt iMaxLocationAge

TInt iMaxLocationAge[private]

TInt iResponseTime

TInt iResponseTime[private]

TReal32 iVerticalAccuracy

TReal32 iVerticalAccuracy[private]