![]() |
Murl Engine API
Version 2025.1
|
The ILocationDevice interface. More...
#include <murl_input_i_location_device.h>
The ILocationDevice interface.
To receive data the device must be activated by IAppConfiguration::SetLocationActive().
Public Member Functions | |
| virtual Double | GetLatitude () const =0 |
| Get the latitude in degrees relative to the equator. More... | |
| virtual Double | GetLongitude () const =0 |
| Get the longitude in degrees relative to the zero meridian. More... | |
| virtual Double | GetAltitude () const =0 |
| Get the altitude above sea level in meters. More... | |
| virtual Util::GeoLocation | GetGeoLocation () const =0 |
| Get the latitude, longitude and altitude geo location. More... | |
| virtual Double | GetVelocity () const =0 |
| Get the velocity over ground in meters per second. More... | |
| virtual Double | GetHorizontalAccuracy () const =0 |
| Get the radius of uncertainty for the location in meters. More... | |
| virtual Double | GetVerticalAccuracy () const =0 |
| Get the accuracy of the altitude in meters. More... | |
| virtual IEnums::AuthorizationStatus | GetAuthorization () const =0 |
| Get the current device authorization status. More... | |
Public Member Functions inherited from Murl::Input::IDevice | |
| virtual const String & | GetName () const =0 |
| Get the device name. More... | |
| virtual UInt32 | GetId () const =0 |
| Get the unique device identifier. More... | |
| virtual Bool | HasUpdate () const =0 |
| Check if the device has received new data since the last Update(). More... | |
| virtual void | LogicUpdate ()=0 |
| Is executed in the logic thread context each logic tick. | |
| virtual void | ConfigChanged (const IAppConfiguration *appConfig)=0 |
| Notification of changed configuration. More... | |
|
pure virtual |
Get the latitude in degrees relative to the equator.
Use GetHorizontalAccuracy() to check validity.
|
pure virtual |
Get the longitude in degrees relative to the zero meridian.
Use GetHorizontalAccuracy() to check validity.
|
pure virtual |
Get the altitude above sea level in meters.
Use GetVerticalAccuracy() to check validity.
|
pure virtual |
Get the latitude, longitude and altitude geo location.
|
pure virtual |
Get the velocity over ground in meters per second.
A negative values indicates an invalid speed.
|
pure virtual |
Get the radius of uncertainty for the location in meters.
A negative value indicates that the latitude and longitude are invalid.
|
pure virtual |
Get the accuracy of the altitude in meters.
A negative value indicates that the altitude value is invalid.
|
pure virtual |
Get the current device authorization status.