COMASuplHorizAndVertVelocity Class Reference

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

  • Horizontal Speed expressed in kilometer per second.

  • Vertical Direction in which Zero value indicate upward speed and 1 indicates downward speed.

  • Vertical Speed expressed in kilometer per second More information about Bearing, Horizontal Speed, Vertical Direction and Vertical Speed can be found in 3G TS 23.032

Since
Series 60 3.1u

Inherits from

Constructor & Destructor Documentation

COMASuplHorizAndVertVelocity()

COMASuplHorizAndVertVelocity()

C++ default constructor.

~COMASuplHorizAndVertVelocity()

IMPORT_C~COMASuplHorizAndVertVelocity()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

GetHorizAndVertVel(TUint16 &, TUint16 &, TUint8 &, TUint8 &)

IMPORT_C voidGetHorizAndVertVel(TUint16 &aBearing,
TUint16 &aHorSpeed,
TUint8 &aVerDirect,
TUint8 &aVerSpeed
)const
GetHorizAndVertVel retrieves values for
  • Bearing, which represents the angle on the horizontal axis towards North

  • Horizontal Speed expressed in Kilometer per second

  • Vertical Direction in which Zero value indicate upward speed and 1 indicates downward speed

  • vertical Speed expressed in Kilometer per second

Parameters

TUint16 & aBearingA reference Parameter that holds the bearing. The Most significant 9 bits hold the value for bearing.
TUint16 & aHorSpeedA refernce parameter that holds Horizontal Speed. All the 16 bits hold the value
TUint8 & aVerDirectA refernce parameter that holds Vertical Direction. The Most significant bit holds the value. Zero value indicate upward speed and 1 indicates downward speed.
TUint8 & aVerSpeedA refernce parameter that holds Vertical Speed. All the 8 bits hold the value.

NewL()

IMPORT_C COMASuplHorizAndVertVelocity *NewL()[static]

Creates a new instance of a COMASuplPosition.

SetHorizAndVertVel(TInt16, TInt16, TInt8, TInt8)

IMPORT_C voidSetHorizAndVertVel(TInt16aBearing,
TInt16aHorSpeed,
TInt8aVerDirect,
TInt8aVerSpeed
)
SetHorizAndVertVel sets values for
  • Bearing, which represents the angle on the horizontal axis towards North

  • Horizontal Speed expressed in Kilometer per second

  • Vertical Direction in which Zero value indicate upward speed and 1 indicates downward speed

  • vertical Speed expressed in Kilometer per second

Parameters

TInt16 aBearingParameter for Bearing. The Most significant 9 bits hold the value for bearing. The other bits in 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.
TInt16 aHorSpeedParameter for Horizontal Speed. All the 16 bits hold the value. The endianess of the value is determined by the processor architecture. When this value is sent to the network, Network Byte order is used.
TInt8 aVerDirectParameter for Vertical Direction. The Most significant bit holds the value. The endianess of the value is determined by the processor architecture. When this value is sent to the network, Network Byte order is used.
TInt8 aVerSpeedParameter for Vertical Speed. All the 8 bits hold the value. 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

TUint8 iVertDirection

TUint8 iVertDirection[private]

TUint8 iVertSpeed

TUint8 iVertSpeed[private]