TPositionSatelliteInfo Class Reference
API published in: S60 2nd Ed FP 2
Link against: lbs.lib
Capability Information
Required Capabilities
None
Exceptions
The capability Location is required in:
TInt RPositionServer::GetDefaultModuleId(TPositionModuleId& aModuleId) const;
TInt RPositionServer::GetNumModules(TUint& aNumModules) const;
TInt RPositionServer::GetModuleInfoByIndex(TInt aModuleIndex, TPositionModuleInfoBase& aModuleInfo) const;
TInt RPositionServer::GetModuleInfoById(TPositionModuleId aModuleId, TPositionModuleInfoBase& aModuleInfo) const;
TInt RPositionServer::GetModuleStatus(TPositionModuleStatusBase& aPosModuleStatus, TPositionModuleId aModuleId) const;
void RPositionServer::NotifyModuleStatusEvent(TPositionModuleStatusEventBase& aStatusEvent,TRequestStatus& aStatus,const TPositionModuleId aModuleId = KPositionNullModuleId) const;
TInt RPositioner::SetRequestor(CRequestor::TRequestorType aType,CRequestor::TRequestorFormat aFormat,const TDesC& aData);
TInt RPositioner::SetRequestor(const RRequestorStack& aRequestorStack);
TInt RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase& aPosOption);
TInt RPositioner::GetUpdateOptions(TPositionUpdateOptionsBase& aPosOption) const;
void RPositioner::GetLastKnownPosition(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;
void RPositioner::NotifyPositionUpdate(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;
#include <lbssatellite.h>
Inherits TPositionCourseInfo.
Detailed Description
This class is used to store information about positions obtained by satellites.
Constructor & Destructor Documentation
IMPORT_C TPositionSatelliteInfo::TPositionSatelliteInfo | ( | | ) | |
|
|
TPositionSatelliteInfo constructor.
|
Member Function Documentation
IMPORT_C TInt TPositionSatelliteInfo::AppendSatelliteData | ( | const TSatelliteData & | aSatelliteData | ) | |
|
|
This method is not intended for the client's usage.
Append the data of a particular satellite used for positioning. This method is usually used by the positioning module to set the satellite information. - Parameters:
-
[in] | aSatelliteData | The data to append |
- Returns:
- a symbian OS error code
KErrNone if successful
KErrOverflow otherwise
|
IMPORT_C void TPositionSatelliteInfo::ClearSatellitesInView | ( | | ) | |
|
|
Reset the number of satellites in view.
|
IMPORT_C TInt TPositionSatelliteInfo::GetSatelliteData | ( | TUint | aIndex, | | | TSatelliteData & | aSatelliteData | | ) | const |
|
|
Get the data of a particular satellite used for positioning.
- Parameters:
-
| aIndex | The index of the satellite whose data is requested | [out] | aSatelliteData | The TSatelliteData structure where the data will be placed |
- Returns:
- a symbian OS error code
KErrNone if successful
KErrNotFound otherwise
|
IMPORT_C TReal32 TPositionSatelliteInfo::HorizontalDoP | ( | | ) | const |
|
|
Get the horizontal dilution of precision.
Dilution of precision indicates the accuracy of the measured value. - Returns:
- The horizontal dilution of precision
- Note:
- the horizontal dilution of precision value is initially NaN.
|
IMPORT_C TInt TPositionSatelliteInfo::NumSatellitesInView | ( | | ) | const |
|
|
Get the information about the number of satellites that are available for position determination.
- Returns:
- The number of satellites in view
|
IMPORT_C TInt TPositionSatelliteInfo::NumSatellitesUsed | ( | | ) | const |
|
|
Get the information about the number of satellites that are being used for position determination.
- Returns:
- The number of satellites used in the calculation
|
IMPORT_C TTime TPositionSatelliteInfo::SatelliteTime | ( | | ) | const |
|
|
Get the time as per the satellite.
- Returns:
- The time according to the satellite
|
IMPORT_C void TPositionSatelliteInfo::SetHorizontalDoP | ( | TReal32 | aDoPValue | ) | |
|
|
This method is not intended for the client's usage.
The positioning module uses this method to set the horizontal dilution of precision. - Parameters:
-
| aDoPValue | The horizontal dilution of precision to be set |
|
IMPORT_C void TPositionSatelliteInfo::SetSatelliteTime | ( | TTime | aTime | ) | |
|
|
This method is not intended for the client's usage.
The positioning module uses this method to set the time of the satellite. - Parameters:
-
| aTime | The satellite time to be set |
|
IMPORT_C void TPositionSatelliteInfo::SetTimeDoP | ( | TReal32 | aDoPValue | ) | |
|
|
This method is not intended for the client's usage.
The positioning module uses this method to set the time dilution of precision. - Parameters:
-
| aDoPValue | The time dilution of precision to be set |
|
IMPORT_C void TPositionSatelliteInfo::SetVerticalDoP | ( | TReal32 | aDoPValue | ) | |
|
|
This method is not intended for the client's usage.
The positioning module uses this method to set the vertical dilution of precision. - Parameters:
-
| aDoPValue | The vertical dilution of precision to be set |
|
IMPORT_C TReal32 TPositionSatelliteInfo::TimeDoP | ( | | ) | const |
|
|
Get the time dilution of precision.
Dilution of precision indicates the accuracy of the measured value. - Returns:
- The time dilution of precision
- Note:
- the time dilution of precision value is initially NaN.
|
IMPORT_C TReal32 TPositionSatelliteInfo::VerticalDoP | ( | | ) | const |
|
|
Get the vertical dilution of precision.
Dilution of precision indicates the accuracy of the measured value. - Returns:
- The vertical dilution of precision
- Note:
- the vertical dilution of precision value is initially NaN.
|
Field Documentation
|
The horizontal dilution of precision.
|
|
The number of satellites in view.
|
|
The number of satellites used.
|
|
The time according to the satellite.
|
|
The time dilution of precision.
|
|
The vertical dilution of precision.
|
The documentation for this class was generated from the following file: