TPositionSatelliteInfo Class Reference

#include <lbssatellite.h>

Link against: lbs.lib

class TPositionSatelliteInfo : public TPositionCourseInfo
Protected Attributes
TReal32 iHorizontalDoPValue
TUint iNumSatellitesInView
TUint iNumSatellitesUsed
TTime iSatelliteTime
TFixedArray< TSatelliteData, KPositionMaxSatellitesInView >iSatellitesInView
TReal32 iTimeDoPValue
TReal32 iVerticalDoPValue
Public Member Functions
TPositionSatelliteInfo()
IMPORT_C TIntAppendSatelliteData(const TSatelliteData &)
IMPORT_C voidClearSatellitesInView()
IMPORT_C TIntGetSatelliteData(TUint, TSatelliteData &)
IMPORT_C TReal32HorizontalDoP()
IMPORT_C TIntNumSatellitesInView()
IMPORT_C TIntNumSatellitesUsed()
IMPORT_C TTimeSatelliteTime()
IMPORT_C voidSetHorizontalDoP(TReal32)
IMPORT_C voidSetSatelliteTime(TTime)
IMPORT_C voidSetTimeDoP(TReal32)
IMPORT_C voidSetVerticalDoP(TReal32)
IMPORT_C TReal32TimeDoP()
IMPORT_C TReal32VerticalDoP()
Inherited Attributes
TPositionClassTypeBase::iPosClassSize
TPositionClassTypeBase::iPosClassType
TPositionCourseInfo::iCourse
TPositionInfo::iPosition
TPositionInfoBase::iModuleId
TPositionInfoBase::iPositionMode
TPositionInfoBase::iPositionModeReason
TPositionInfoBase::iUpdateType
Inherited Functions
TPositionClassTypeBase::PositionClassSize()const
TPositionClassTypeBase::PositionClassType()const
TPositionClassTypeBase::TPositionClassTypeBase()
TPositionCourseInfo::GetCourse(TCourse &)const
TPositionCourseInfo::SetCourse(const TCourse &)
TPositionCourseInfo::TPositionCourseInfo()
TPositionInfo::GetPosition(TPosition &)const
TPositionInfo::SetPosition(const TPosition &)
TPositionInfo::TPositionInfo()
TPositionInfoBase::ModuleId()const
TPositionInfoBase::PositionMode()const
TPositionInfoBase::PositionModeReason()const
TPositionInfoBase::SetModuleId(TPositionModuleId)
TPositionInfoBase::SetPositionMode(TPositionModuleInfo::TTechnologyType)
TPositionInfoBase::SetPositionModeReason(TPositionModeReason)
TPositionInfoBase::SetUpdateType(TPositionUpdateType)
TPositionInfoBase::TPositionInfoBase()
TPositionInfoBase::UpdateType()const

Detailed Description

This class is used to store information about positions obtained by satellites.

Member Attribute Documentation

iHorizontalDoPValue

TReal32 iHorizontalDoPValue[protected]

The horizontal dilution of precision

iNumSatellitesInView

TUint iNumSatellitesInView[protected]

The number of satellites in view

iNumSatellitesUsed

TUint iNumSatellitesUsed[protected]

The number of satellites used

iSatelliteTime

TTime iSatelliteTime[protected]

The time according to the satellite

iSatellitesInView

The satellites in view

iTimeDoPValue

TReal32 iTimeDoPValue[protected]

The time dilution of precision

iVerticalDoPValue

TReal32 iVerticalDoPValue[protected]

The vertical dilution of precision

Constructor & Destructor Documentation

TPositionSatelliteInfo ( )

IMPORT_CTPositionSatelliteInfo()

TPositionSatelliteInfo constructor.

Note the the horizontal and vertical dilution of precision values are initially NaN.

Member Function Documentation

AppendSatelliteData ( const TSatelliteData & )

IMPORT_C TIntAppendSatelliteData(const TSatelliteData &aSatelliteData)

Appends satellite data

Parameters
aSatelliteDataThe data to append
Return Value
KErrNone if successful, KErrOverflow otherwise

ClearSatellitesInView ( )

IMPORT_C voidClearSatellitesInView()

Reset the number of satellites in view

GetSatelliteData ( TUint, TSatelliteData & )

IMPORT_C TIntGetSatelliteData(TUintaIndex,
TSatelliteData &aSatelliteData
)const

Gets satellite data by index into TSatelliteData

Parameters
aIndexThe index of the satellite whose data is requested
aSatelliteDataThe TSatelliteData structure where the data will be placed
Return Value
KErrNone if successful, KErrNotFound otherwise

HorizontalDoP ( )

IMPORT_C TReal32HorizontalDoP()const

Returns the horizontal dilution of precision

Return Value
The horizontal dilution of precision

NumSatellitesInView ( )

IMPORT_C TIntNumSatellitesInView()const

The number of satellites in view

Return Value
The number of satellites in view

NumSatellitesUsed ( )

IMPORT_C TIntNumSatellitesUsed()const

Returns the number of satellites used in the calculation

Return Value
The number of satellites used in the calculation

SatelliteTime ( )

IMPORT_C TTimeSatelliteTime()const

Returns the time according to the satellite

Return Value
The time according to the satellite

SetHorizontalDoP ( TReal32 )

IMPORT_C voidSetHorizontalDoP(TReal32aDoPValue)

Sets the horizontal dilution of precision

Parameters
aDoPValueThe horizontal dilution of precision to be set

SetSatelliteTime ( TTime )

IMPORT_C voidSetSatelliteTime(TTimeaTime)

Sets the satellite time

Parameters
aTimeThe satellite time to be set

SetTimeDoP ( TReal32 )

IMPORT_C voidSetTimeDoP(TReal32aDoPValue)

Sets the time dilution of precision

Parameters
aDoPValueThe time dilution of precision to be set

SetVerticalDoP ( TReal32 )

IMPORT_C voidSetVerticalDoP(TReal32aDoPValue)

Sets the vertical dilution of precision

Parameters
aDoPValueThe vertical dilution of precision to be set

TimeDoP ( )

IMPORT_C TReal32TimeDoP()const

Returns the time dilution of precision

Return Value
The time dilution of precision

VerticalDoP ( )

IMPORT_C TReal32VerticalDoP()const

Returns the vertical dilution of precision

Return Value
The vertical dilution of precision