#include <lbspositioninfo.h>
Link against: lbs.lib
| class TPositionInfoBase : public TPositionClassTypeBase |
| Protected Attributes | |
|---|---|
| TPositionModuleId | iModuleId |
| TPositionModuleInfo::TTechnologyType | iPositionMode |
| TPositionModeReason | iPositionModeReason |
| TUint32 | iUpdateType |
| Public Member Functions | |
|---|---|
| IMPORT_C TPositionModuleId | ModuleId() |
| IMPORT_C TPositionModuleInfo::TTechnologyType | PositionMode() |
| IMPORT_C TPositionModeReason | PositionModeReason() |
| IMPORT_C void | SetModuleId(TPositionModuleId) |
| IMPORT_C void | SetPositionMode(TPositionModuleInfo::TTechnologyType) |
| IMPORT_C void | SetPositionModeReason(TPositionModeReason) |
| IMPORT_C void | SetUpdateType(TPositionUpdateType) |
| IMPORT_C TPositionUpdateType | UpdateType() |
| Protected Member Functions | |
|---|---|
| TPositionInfoBase() | |
| Inherited Attributes | |
|---|---|
| TPositionClassTypeBase::iPosClassSize | |
| TPositionClassTypeBase::iPosClassType | |
| Inherited Functions | |
|---|---|
| TPositionClassTypeBase::PositionClassSize()const | |
| TPositionClassTypeBase::PositionClassType()const | |
| TPositionClassTypeBase::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
| TPositionModuleInfo::TTechnologyType | iPositionMode | [protected] |
The positioning mode used to calculate this location fix.
| TPositionModeReason | iPositionModeReason | [protected] |
The reason why the prefered position mode was not used.
| IMPORT_C | TPositionInfoBase | ( | ) | [protected] |
Default constructor. Sets up class type information.
| IMPORT_C TPositionModuleId | ModuleId | ( | ) | const |
Returns the module Id of the module that gave the position fix
| IMPORT_C TPositionModuleInfo::TTechnologyType | PositionMode | ( | ) | const |
| IMPORT_C TPositionModeReason | PositionModeReason | ( | ) | const |
see PositionMode see _TPositionModeReason
| IMPORT_C void | SetModuleId | ( | TPositionModuleId | aModuleId | ) |
Sets the Module Id stored in this class
| Parameters | |
|---|---|
| aModuleId | Module Id stored in this class is set to aModuleId. |
| IMPORT_C void | SetPositionMode | ( | TPositionModuleInfo::TTechnologyType | aMode | ) |
| Parameters | |
|---|---|
| aMode | The mode used to calculate the position fix contained in this class. For example, terminal only (autonomous), terminal-assisted, network only or network-assisted. |
| IMPORT_C void | SetPositionModeReason | ( | TPositionModeReason | aReason | ) |
| Parameters | |
|---|---|
| aReason | The mode used to calculate the position fix contained in this class was different from the prefered mode. |
| IMPORT_C void | SetUpdateType | ( | TPositionUpdateType | aUpdateType | ) |
Sets The update type of the position fix in this class
| Parameters | |
|---|---|
| aUpdateType | The update type of the position fix in this class is set to this. |
| IMPORT_C TPositionUpdateType | UpdateType | ( | ) | const |
Returns the update type of the position fix.