#include <lbssatellite.h>
Link against: lbs.lib
| class TSatelliteData |
| Protected Attributes | |
|---|---|
| TReal32 | iAzimuth |
| TReal32 | iElevation |
| TBool | iIsUsed |
| TInt | iSatelliteId |
| TInt | iSignalStrength |
| Public Member Functions | |
|---|---|
| TSatelliteData() | |
| IMPORT_C TReal32 | Azimuth() |
| IMPORT_C TReal32 | Elevation() |
| IMPORT_C TBool | IsUsed() |
| IMPORT_C TInt | SatelliteId() |
| IMPORT_C void | SetAzimuth(TReal32) |
| IMPORT_C void | SetElevation(TReal32) |
| IMPORT_C void | SetIsUsed(TBool) |
| IMPORT_C void | SetSatelliteId(TInt) |
| IMPORT_C void | SetSignalStrength(TInt) |
| IMPORT_C TInt | SignalStrength() |
This class is used to transfer data about a satellite
| IMPORT_C | TSatelliteData | ( | ) |
Default constructor for a TSatelliteData. Note the azimuth and elevation are both initially NaN.
| IMPORT_C TReal32 | Elevation | ( | ) | const |
Returns the satellite elevation
| IMPORT_C TBool | IsUsed | ( | ) | const |
Returns Whether this satellite is used
| IMPORT_C void | SetAzimuth | ( | TReal32 | aAzimuth | ) |
Sets the satellite azimuth
| Parameters | |
|---|---|
| aAzimuth | The satellite azimuth to be set |
| IMPORT_C void | SetElevation | ( | TReal32 | aElevation | ) |
Sets the satellite elevation to be set
| Parameters | |
|---|---|
| aElevation | The satellite elevation to be set |
| IMPORT_C void | SetIsUsed | ( | TBool | aIsUsed | ) |
sets whether this satellite will be used
| Parameters | |
|---|---|
| aIsUsed | Whether this satellite will be used |
| IMPORT_C void | SetSatelliteId | ( | TInt | aSatelliteId | ) |
The satellite ID to be set
| Parameters | |
|---|---|
| aSatelliteId | The satellite ID to be set |
| IMPORT_C void | SetSignalStrength | ( | TInt | aSignalStrength | ) |
Sets the signal strength
| Parameters | |
|---|---|
| aSignalStrength | The signal strength to set |