Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <LbsSatellite.h>
Link against: lbs.lib
Link against: lbsselflocate.lib

Class TPositionSatelliteInfo

class TPositionSatelliteInfo : public TPositionCourseInfo;

Description

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

Derivation

Members

Defined in TPositionSatelliteInfo:

Inherited from TPositionClassTypeBase:

Inherited from TPositionCourseInfo:

Inherited from TPositionInfo:

Inherited from TPositionInfoBase:


Construction and destruction


TPositionSatelliteInfo()

IMPORT_C TPositionSatelliteInfo();

Description

TPositionSatelliteInfo constructor.

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

[Top]


Member functions


GetSatelliteData(TUint,TSatelliteData &)const

IMPORT_C TInt GetSatelliteData(TUint aIndex, TSatelliteData &aSatelliteData) const;

Description

Gets satellite data by index into TSatelliteData

Parameters

TUint aIndex

The index of the satellite whose data is requested

TSatelliteData &aSatelliteData

The TSatelliteData structure where the data will be placed

Return value

TInt

KErrNone if successful, KErrNotFound otherwise


AppendSatelliteData(const TSatelliteData &)

IMPORT_C TInt AppendSatelliteData(const TSatelliteData &aSatelliteData);

Description

Appends satellite data

Parameters

const TSatelliteData &aSatelliteData

The data to append

Return value

TInt

KErrNone if successful, KErrOverflow otherwise


NumSatellitesInView()const

IMPORT_C TInt NumSatellitesInView() const;

Description

The number of satellites in view

Return value

TInt

The number of satellites in view


ClearSatellitesInView()

IMPORT_C void ClearSatellitesInView();

Description

Reset the number of satellites in view


NumSatellitesUsed()const

IMPORT_C TInt NumSatellitesUsed() const;

Description

Returns the number of satellites used in the calculation

Return value

TInt

The number of satellites used in the calculation


SatelliteTime()const

IMPORT_C TTime SatelliteTime() const;

Description

Returns the time according to the satellite

Return value

TTime

The time according to the satellite


SetSatelliteTime(TTime)

IMPORT_C void SetSatelliteTime(TTime aTime);

Description

Sets the satellite time

Parameters

TTime aTime

The satellite time to be set


HorizontalDoP()const

IMPORT_C TReal32 HorizontalDoP() const;

Description

Returns the horizontal dilution of precision

Return value

TReal32

The horizontal dilution of precision


VerticalDoP()const

IMPORT_C TReal32 VerticalDoP() const;

Description

Returns the vertical dilution of precision

Return value

TReal32

The vertical dilution of precision


TimeDoP()const

IMPORT_C TReal32 TimeDoP() const;

Description

Returns the position dilution of precision

Return value

TReal32

The position dilution of precision


SetHorizontalDoP(TReal32)

IMPORT_C void SetHorizontalDoP(TReal32 aDoPValue);

Description

Sets the horizontal dilution of precision

Parameters

TReal32 aDoPValue

The horizontal dilution of precision to be set


SetVerticalDoP(TReal32)

IMPORT_C void SetVerticalDoP(TReal32 aDoPValue);

Description

Sets the vertical dilution of precision

Parameters

TReal32 aDoPValue

The vertical dilution of precision to be set


SetTimeDoP(TReal32)

IMPORT_C void SetTimeDoP(TReal32 aDoPValue);

Description

Sets the position dilution of precision

Parameters

TReal32 aDoPValue

The position dilution of precision to be set

[Top]


Member data


iNumSatellitesInView

protected: TUint iNumSatellitesInView;

Description

The number of satellites in view


iNumSatellitesUsed

protected: TUint iNumSatellitesUsed;

Description

The number of satellites used


iSatelliteTime

protected: TTime iSatelliteTime;

Description

The time according to the satellite


iHorizontalDoPValue

protected: TReal32 iHorizontalDoPValue;

Description

The horizontal dilution of precision


iVerticalDoPValue

protected: TReal32 iVerticalDoPValue;

Description

The vertical dilution of precision


iTimeDoPValue

protected: TReal32 iTimeDoPValue;

Description

The position dilution of precision


iSatellitesInView

protected: TFixedArray< TSatelliteData, KPositionMaxSatellitesInView > iSatellitesInView;

Description

The satellites in view