TSatelliteData Class Reference

class TSatelliteData

This class is used to transfer data about a satellite

Public Member Functions
TSatelliteData()
IMPORT_C TReal32Azimuth()
IMPORT_C TReal32Elevation()
IMPORT_C TBoolIsUsed()
IMPORT_C TIntSatelliteId()
IMPORT_C voidSetAzimuth(TReal32)
IMPORT_C voidSetElevation(TReal32)
IMPORT_C voidSetIsUsed(TBool)
IMPORT_C voidSetSatelliteId(TInt)
IMPORT_C voidSetSignalStrength(TInt)
IMPORT_C TIntSignalStrength()
Protected Attributes
TReal32 iAzimuth
TReal32 iElevation
TBool iIsUsed
TInt iSatelliteId
TInt iSignalStrength
Private Attributes
TUint8 iReserved

Constructor & Destructor Documentation

TSatelliteData()

IMPORT_CTSatelliteData()

Default constructor for a TSatelliteData. Note the azimuth and elevation are both initially NaN.

Member Functions Documentation

Azimuth()

IMPORT_C TReal32Azimuth()const

Returns the satellite azimuth

Elevation()

IMPORT_C TReal32Elevation()const

Returns the satellite elevation

IsUsed()

IMPORT_C TBoolIsUsed()const

Returns Whether this satellite is used

SatelliteId()

IMPORT_C TIntSatelliteId()const

The satellite ID

SetAzimuth(TReal32)

IMPORT_C voidSetAzimuth(TReal32aAzimuth)

Sets the satellite azimuth

Parameters

TReal32 aAzimuthThe satellite azimuth to be set

SetElevation(TReal32)

IMPORT_C voidSetElevation(TReal32aElevation)

Sets the satellite elevation to be set

Parameters

TReal32 aElevationThe satellite elevation to be set

SetIsUsed(TBool)

IMPORT_C voidSetIsUsed(TBoolaIsUsed)

sets whether this satellite will be used

Parameters

TBool aIsUsedWhether this satellite will be used

SetSatelliteId(TInt)

IMPORT_C voidSetSatelliteId(TIntaSatelliteId)

The satellite ID to be set

Parameters

TInt aSatelliteIdThe satellite ID to be set

SetSignalStrength(TInt)

IMPORT_C voidSetSignalStrength(TIntaSignalStrength)

Sets the signal strength

Parameters

TInt aSignalStrengthThe signal strength to set

SignalStrength()

IMPORT_C TIntSignalStrength()const

Returns the signal strength

Member Data Documentation

TReal32 iAzimuth

TReal32 iAzimuth[protected]

The azimuth, in degrees

TReal32 iElevation

TReal32 iElevation[protected]

The elevation, in degrees

TBool iIsUsed

TBool iIsUsed[protected]

Whether the satellite is used

TUint8 iReserved

TUint8 iReserved[private]

Unused variable for future expansion.

TInt iSatelliteId

TInt iSatelliteId[protected]

The ID (in GPS, the PRN)

TInt iSignalStrength

TInt iSignalStrength[protected]

The signal strength, in decibels