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

Function getState

Tactility/Source/service/ServiceRegistration.cpp:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129State getState(const std::string& id) {
130 auto service_instance = findServiceInstanceById(id);
131 if (service_instance == nullptr) {
132 return State::Stopped;
133 }
134 return service_instance->getState();
135}
136
137} // namespace

Callers 13

addGpsDeviceMethod · 0.85
removeGpsDeviceMethod · 0.85
onStopMethod · 0.85
startReceivingMethod · 0.85
hasCoordinatesMethod · 0.85
getGgaMethod · 0.85
guiMainMethod · 0.85
onWifiEventMethod · 0.85
onBtEventMethod · 0.85
onWifiEventMethod · 0.85
attachDevicesFunction · 0.85
startMethod · 0.85

Calls 2

findServiceInstanceByIdFunction · 0.85
getStateMethod · 0.45

Tested by

no test coverage detected