#include <lbssatellite.h>
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
Parameter | Description |
---|---|
aSatelliteData | The data to append |
Returns: KErrNone if successful, KErrOverflow otherwise
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
Parameter | Description |
---|---|
aIndex | The index of the satellite whose data is requested |
aSatelliteData | The TSatelliteData structure where the data will be placed |
Returns: KErrNone if successful, KErrNotFound otherwise
IMPORT_C TReal32 | HorizontalDoP | ( | ) | const |
Returns the horizontal dilution of precision
Returns: The horizontal dilution of precision
IMPORT_C TInt | NumSatellitesInView | ( | ) | const |
The number of satellites in view
Returns: The number of satellites in view
IMPORT_C TInt | NumSatellitesUsed | ( | ) | const |
Returns the number of satellites used in the calculation
Returns: The number of satellites used in the calculation
IMPORT_C TTime | SatelliteTime | ( | ) | const |
Returns the time according to the satellite
Returns: The time according to the satellite
IMPORT_C void | SetHorizontalDoP | ( | TReal32 | aDoPValue | ) |
Sets the horizontal dilution of precision
Parameter | Description |
---|---|
aDoPValue | The horizontal dilution of precision to be set |
IMPORT_C void | SetSatelliteTime | ( | TTime | aTime | ) |
Sets the satellite time
Parameter | Description |
---|---|
aTime | The satellite time to be set |
IMPORT_C void | SetTimeDoP | ( | TReal32 | aDoPValue | ) |
Sets the time dilution of precision
Parameter | Description |
---|---|
aDoPValue | The time dilution of precision to be set |
IMPORT_C void | SetVerticalDoP | ( | TReal32 | aDoPValue | ) |
Sets the vertical dilution of precision
Parameter | Description |
---|---|
aDoPValue | The vertical dilution of precision to be set |
IMPORT_C TReal32 | TimeDoP | ( | ) | const |
Returns the time dilution of precision
Returns: The time dilution of precision
IMPORT_C TReal32 | VerticalDoP | ( | ) | const |
Returns the vertical dilution of precision
Returns: The vertical dilution of precision