Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: LbsSatellite.h
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:
AppendSatelliteData(), ClearSatellitesInView(), GetSatelliteData(), HorizontalDoP(), NumSatellitesInView(), NumSatellitesUsed(), SatelliteTime(), SetHorizontalDoP(), SetSatelliteTime(), SetTimeDoP(), SetVerticalDoP(), TPositionSatelliteInfo(), TimeDoP(), VerticalDoP(), iHorizontalDoPValue, iNumSatellitesInView, iNumSatellitesUsed, iSatelliteTime, iSatellitesInView, iTimeDoPValue, iVerticalDoPValue

Inherited from TPositionClassTypeBase:
PositionClassSize(), PositionClassType(), iPosClassSize, iPosClassType

Inherited from TPositionCourseInfo:
GetCourse(), SetCourse(), iCourse

Inherited from TPositionInfo:
GetPosition(), SetPosition(), iPosition

Inherited from TPositionInfoBase:
ModuleId(), PositionMode(), PositionModeReason(), SetModuleId(), SetPositionMode(), SetPositionModeReason(), SetUpdateType(), UpdateType(), iModuleId, iPositionMode, iPositionModeReason, iUpdateType


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

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

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

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

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

IMPORT_C TTime SatelliteTime() const;

Description

Returns the time according to the satellite

Return value

TTime

The time according to the satellite


SetSatelliteTime()

IMPORT_C void SetSatelliteTime(TTime aTime);

Description

Sets the satellite time

Parameters

TTime aTime

The satellite time to be set


HorizontalDoP()

IMPORT_C TReal32 HorizontalDoP() const;

Description

Returns the horizontal dilution of precision

Return value

TReal32

The horizontal dilution of precision


VerticalDoP()

IMPORT_C TReal32 VerticalDoP() const;

Description

Returns the vertical dilution of precision

Return value

TReal32

The vertical dilution of precision


TimeDoP()

IMPORT_C TReal32 TimeDoP() const;

Description

Returns the position dilution of precision

Return value

TReal32

The position dilution of precision


SetHorizontalDoP()

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

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

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