![]() |
SLProject
4.3.020
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
#include <SENSGps.h>
Public Member Functions | |
| SENSDummyGps () | |
| ~SENSDummyGps () | |
| bool | start () override |
| void | stop () override |
| void | addDummyPos (SENSGps::Location loc) |
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 | startSimulation () |
| void | stopSimulation () |
| void | run () |
Private Attributes | |
| std::thread | _thread |
| std::atomic_bool | _stop {false} |
| std::vector< SENSGps::Location > | _dummyLocs |
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} |
| SENSDummyGps::~SENSDummyGps | ( | ) |
Definition at line 79 of file SENSGps.cpp.
|
inline |
|
private |
Definition at line 115 of file SENSGps.cpp.
|
overridevirtual |
Implements SENSGps.
Definition at line 84 of file SENSGps.cpp.
|
private |
Definition at line 102 of file SENSGps.cpp.
|
overridevirtual |
Implements SENSGps.
Definition at line 95 of file SENSGps.cpp.
|
private |
Definition at line 108 of file SENSGps.cpp.
|
private |