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

Method getModel

Tactility/Source/hal/gps/GpsDevice.cpp:186–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186GpsModel GpsDevice::getModel() const {
187 auto lock = mutex.asScopedLock();
188 lock.lock();
189 return model; // Make copy because of thread safety
190}
191
192GpsDevice::State GpsDevice::getState() const {
193 auto lock = mutex.asScopedLock();

Callers 1

updateViewsMethod · 0.80

Calls 2

asScopedLockMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected