#include <lbssatellite.h>
Link against: lbs.lib
class TPositionSatelliteInfo : public TPositionCourseInfo |
Public Member Functions | |
---|---|
TPositionSatelliteInfo() | |
IMPORT_C TInt | AppendSatelliteData(const TSatelliteData &) |
IMPORT_C void | ClearSatellitesInView() |
IMPORT_C TInt | GetSatelliteData(TUint, TSatelliteData &) |
IMPORT_C TReal32 | HorizontalDoP() |
IMPORT_C TInt | NumSatellitesInView() |
IMPORT_C TInt | NumSatellitesUsed() |
IMPORT_C TTime | SatelliteTime() |
IMPORT_C void | SetHorizontalDoP(TReal32) |
IMPORT_C void | SetSatelliteTime(TTime) |
IMPORT_C void | SetTimeDoP(TReal32) |
IMPORT_C void | SetVerticalDoP(TReal32) |
IMPORT_C TReal32 | TimeDoP() |
IMPORT_C TReal32 | VerticalDoP() |
This class is used to store information about positions obtained by satellites.
TFixedArray< TSatelliteData, KPositionMaxSatellitesInView > | iSatellitesInView | [protected] |
The satellites in view
IMPORT_C | TPositionSatelliteInfo | ( | ) |
TPositionSatelliteInfo constructor.
Note the the horizontal and vertical dilution of precision values are initially NaN.
IMPORT_C TInt | AppendSatelliteData | ( | const TSatelliteData & | aSatelliteData | ) |
Appends satellite data
Parameters | |
---|---|
aSatelliteData | The data to append |
IMPORT_C void | ClearSatellitesInView | ( | ) |
Reset the number of satellites in view
IMPORT_C TInt | GetSatelliteData | ( | TUint | aIndex, |
TSatelliteData & | aSatelliteData | |||
) | const |
Gets satellite data by index into TSatelliteData
Parameters | |
---|---|
aIndex | The index of the satellite whose data is requested |
aSatelliteData | The TSatelliteData structure where the data will be placed |
IMPORT_C TReal32 | HorizontalDoP | ( | ) | const |
Returns the horizontal dilution of precision
IMPORT_C TInt | NumSatellitesInView | ( | ) | const |
The number of satellites in view
IMPORT_C TInt | NumSatellitesUsed | ( | ) | const |
Returns the number of satellites used in the calculation
IMPORT_C TTime | SatelliteTime | ( | ) | const |
Returns the time according to the satellite
IMPORT_C void | SetHorizontalDoP | ( | TReal32 | aDoPValue | ) |
Sets the horizontal dilution of precision
Parameters | |
---|---|
aDoPValue | The horizontal dilution of precision to be set |
IMPORT_C void | SetSatelliteTime | ( | TTime | aTime | ) |
Sets the satellite time
Parameters | |
---|---|
aTime | The satellite time to be set |
IMPORT_C void | SetTimeDoP | ( | TReal32 | aDoPValue | ) |
Sets the time dilution of precision
Parameters | |
---|---|
aDoPValue | The time dilution of precision to be set |
IMPORT_C void | SetVerticalDoP | ( | TReal32 | aDoPValue | ) |
Sets the vertical dilution of precision
Parameters | |
---|---|
aDoPValue | The vertical dilution of precision to be set |
IMPORT_C TReal32 | TimeDoP | ( | ) | const |
Returns the time dilution of precision
IMPORT_C TReal32 | VerticalDoP | ( | ) | const |
Returns the vertical dilution of precision