![]() |
SLProject
4.3.020
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
#include <SENSiOSGps.h>
Public Member Functions | |
| SENSiOSGps () | |
| bool | start () override |
| void | stop () override |
| void | askPermission () |
Public Member Functions inherited from SENSGps | |
| virtual | ~SENSGps () |
| Location | getLocation () const |
| bool | isRunning () |
| bool | permissionGranted () const |
| void | registerListener (SENSGpsListener *listener) |
| void | unregisterListener (SENSGpsListener *listener) |
| void | registerPermissionListener (std::function< void(void)> listener) |
| void | updatePermission (bool granted) |
Private Member Functions | |
| void | updateLocation (double latitudeDEG, double longitudeDEG, double altitudeM, double accuracyM) |
| void | updatePermission (bool granted) |
Private Attributes | |
| SENSiOSGpsDelegate * | _gpsDelegate |
Additional Inherited Members | |
Protected Member Functions inherited from SENSGps | |
| void | setLocation (SENSGps::Location location) |
| void | informPermissionListeners () |
Protected Attributes inherited from SENSGps | |
| bool | _running = false |
| std::atomic_bool | _permissionGranted {false} |
Definition at line 7 of file SENSiOSGps.h.
| SENSiOSGps::SENSiOSGps | ( | ) |
Definition at line 3 of file SENSiOSGps.mm.
| void SENSiOSGps::askPermission | ( | ) |
Definition at line 37 of file SENSiOSGps.mm.
|
overridevirtual |
|
overridevirtual |
|
private |
Definition at line 29 of file SENSiOSGps.mm.
|
private |
|
private |
Definition at line 25 of file SENSiOSGps.h.