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

Method onStop

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

Source from the content-addressed store, hash-verified

67}
68
69void GpsService::onStop(ServiceContext& serviceContext) {
70 if (getState() == State::On) {
71 stopReceiving();
72 }
73}
74
75bool GpsService::startGpsDevice(GpsDeviceRecord& record) {
76 LOGGER.info("[device {}] starting", record.device->getId());

Callers 1

stopServiceFunction · 0.45

Calls 1

getStateFunction · 0.85

Tested by

no test coverage detected