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()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

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

IMPORT_C void GetHorizAndVertVel ( 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 & aBearing A reference Parameter that holds the bearing. The Most significant 9 bits hold the value for bearing.
TUint16 & aHorSpeed A refernce parameter that holds Horizontal Speed. All the 16 bits hold the value
TUint8 & aVerDirect A refernce parameter that holds Vertical Direction. The Most significant bit holds the value. Zero value indicate upward speed and 1 indicates downward speed.
TUint8 & aVerSpeed A 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 void SetHorizAndVertVel ( TInt16 aBearing,
TInt16 aHorSpeed,
TInt8 aVerDirect,
TInt8 aVerSpeed
)
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 aBearing Parameter 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 aHorSpeed Parameter 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 aVerDirect Parameter 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 aVerSpeed Parameter 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]