COMASuplHorizVelocity Class Reference

class COMASuplHorizVelocity : public CBase
COMASuplHorizVelocity holds values for
  • Bearing, which represents the angle on the horizontal axis towards North and

  • Horizontal Speed expressed in Kilometer per second More information about Horizontal Speed and Bearing can be found in 3G TS 23.032

Since
Series 60 3.1u

Inherits from

Constructor & Destructor Documentation

COMASuplHorizVelocity()

COMASuplHorizVelocity ( )

C++ default constructor.

~COMASuplHorizVelocity()

IMPORT_C ~COMASuplHorizVelocity ( )

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

GetHorizVel(TUint16 &, TUint16 &)

IMPORT_C void GetHorizVel ( TUint16 & aBearing,
TUint16 & aHorSpeed
) const
GetHorizVel retrieves values for
  • Bearing, which is the angle on the horizontal axis towards North and

  • Horizontal Speed expressed in Kilometer per second

Parameters

TUint16 & aBearing A reference Parameter that holds the bearing. The Most significant 9 bits contains the value for bearing.
TUint16 & aHorSpeed A refernce parameter that holds Horizontal Speed. All the 16 bits hold the value for this parameter. It is expressed in Kilometer per second.

NewL()

IMPORT_C COMASuplHorizVelocity * NewL ( ) [static]

Creates a new instance of a COMASuplPosition and sets the type in COMASuplInfoRequest to EOMASuplVelocity.

SetHorizVel(TUint16, TUint16)

IMPORT_C void SetHorizVel ( TUint16 aBearing,
TUint16 aHorSpeed
)

SetHorizVel sets values for Bearing and Horizontal Speed.

Parameters

TUint16 aBearing Parameter of sets the Bearing. The Most significant 9 bits contains the value for bearing. Other bits of the value are ignored by the SUPL Framework. The endianess of the value is determined by the processor architecture. When this value is sent to the network, Network Byte order is used.
TUint16 aHorSpeed Parameter for Horizontal Speed. All the 16 bits determines the value. It is expressed in Kilometer per hour. The endianess of the value is determined by the processor architecture. When this value is sent to the network, Network Byte order is used.

VelType()

TOMASuplVelocityType VelType ( ) const [virtual]

Member Data Documentation

TUint16 iBearing

TUint16 iBearing [private]

TUint16 iHorSpeed

TUint16 iHorSpeed [private]

TOMASuplVelocityType iVelType

TOMASuplVelocityType iVelType [protected]