MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / stop

Method stop

lib/TimerService/src/TimerService.cpp:149–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void TimerService::stop()
150{
151 TopicHandlerService& topicHandlerService = TopicHandlerService::getInstance();
152
153 topicHandlerService.unregisterTopic(m_deviceId, ENTITY_ID, TOPIC);
154 m_processTimer.stop();
155
156 m_mutex.destroy();
157
158 if (true == m_isRunning)
159 {
160 m_isRunning = false;
161 LOG_INFO("Timer service stopped.");
162 }
163}
164
165void TimerService::process()
166{

Callers

nothing calls this directly

Calls 2

unregisterTopicMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected