MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / getState

Method getState

Tactility/Source/service/gps/GpsService.cpp:208–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208State GpsService::getState() const {
209 auto lock = stateMutex.asScopedLock();
210 lock.lock();
211 return state;
212}
213
214void GpsService::setState(State newState) {
215 auto lock = stateMutex.asScopedLock();

Callers 4

getStateFunction · 0.45
updateGpsIconMethod · 0.45
onStopAllAppMessageMethod · 0.45
transitionAppToStateMethod · 0.45

Calls 2

asScopedLockMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected