TPositionInfoBase Class Reference
|class TPositionInfoBase : public TPositionClassTypeBase
This class provides the interface used by RPositioner to get a location fix, and as such all classes used to get location info from the location server should derive from this class.
Class contains info about the update type and the ID of the module that gave the location fix
Member Attribute Documentation
The Id of the module that gave the location fix.
The positioning mode used to calculate this location fix.
The reason why the prefered position mode was not used.
The type of update that this location fix represents.
Constructor & Destructor Documentation
TPositionInfoBase ( )
Default constructor. Sets up class type information.
Member Function Documentation
ModuleId ( )
Returns the module Id of the module that gave the position fix
Returns: Returns the module Id of the module that gave the position fix.
PositionMode ( )
Returns: Returns the actual mode used by the positioning module to calculate the position fix. A positioning module may not always be able to use the preferred location calculation mode. For example, if preferred mode is "terminal-assisted" but the phone is out of network coverage it may have used autonomous mode instead.
PositionModeReason ( )
see PositionMode see _TPositionModeReason
Returns: Returns why the positioning mode used to calculate the position fix was different from the prefered mode. For example, this could indicate that the phone is out of network coverage.The method returns a bit mask the reasons why the position module was unable calculate the position in the prefered mode. EPositionModeReasonNone is returned if the mode used was the preferred.EPositionModeReasonNetworkError is returned when there is no network coverage or the service is unavailable.EPositionModeReasonLocalError represents environmental reasons that prevent a terminal based calculation. For example, no satellites are in view.EPositionModeReasonDataError is returned when there is a problem with the initialisation data. For example, GPS assistance data was received but it was either invalid or could not be used.
SetModuleId ( TPositionModuleId )
Sets the Module Id stored in this class
|Module Id stored in this class is set to aModuleId.
SetPositionMode ( TPositionModuleInfo::TTechnologyType )
|The mode used to calculate the position fix contained in this class. For example, terminal only (autonomous), terminal-assisted, network only or network-assisted.
SetPositionModeReason ( TPositionModeReason )
|The mode used to calculate the position fix contained in this class was different from the prefered mode.
SetUpdateType ( TPositionUpdateType )
Sets The update type of the position fix in this class
|The update type of the position fix in this class is set to this.
UpdateType ( )
Returns the update type of the position fix.
Returns: Returns the update type of the position fix.