|
|
|
class TSatelliteData;
This class is used to transfer data about a satellite
Defined in TSatelliteData:
Azimuth()constReturns the satellite azimuth Elevation()constReturns the satellite elevation IsUsed()constReturns Whether this satellite is used SatelliteId()constThe satellite ID SetAzimuth(TReal32)Sets the satellite azimuth SetElevation(TReal32)Sets the satellite elevation to be set SetIsUsed(TBool)sets whether this satellite will be used SetSatelliteId(TInt)The satellite ID to be set SetSignalStrength(TInt)Sets the signal strength SignalStrength()constReturns the signal strength TSatelliteData()Default constructor for a TSatelliteData. Note the azimuth and elevation are bot...iAzimuthThe azimuth, in degrees iElevationThe elevation, in degrees iIsUsedWhether the satellite is used iSatelliteIdThe ID (in GPS, the PRN) iSignalStrengthThe signal strength, in decibels IMPORT_C TSatelliteData();
Default constructor for a TSatelliteData. Note the azimuth and elevation are both initially NaN.
IMPORT_C void SetSatelliteId(TInt aSatelliteId);
The satellite ID to be set
|
IMPORT_C TReal32 Azimuth() const;
Returns the satellite azimuth
|
IMPORT_C void SetAzimuth(TReal32 aAzimuth);
Sets the satellite azimuth
|
IMPORT_C TReal32 Elevation() const;
Returns the satellite elevation
|
IMPORT_C void SetElevation(TReal32 aElevation);
Sets the satellite elevation to be set
|
IMPORT_C TBool IsUsed() const;
Returns Whether this satellite is used
|
IMPORT_C void SetIsUsed(TBool aIsUsed);
sets whether this satellite will be used
|
IMPORT_C TInt SignalStrength() const;
Returns the signal strength
|
IMPORT_C void SetSignalStrength(TInt aSignalStrength);
Sets the signal strength
|
protected: TInt iSignalStrength;
The signal strength, in decibels