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

Method hasTopicChanged

lib/SignalDetectorPlugin/src/SignalDetectorPlugin.cpp:197–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197bool SignalDetectorPlugin::hasTopicChanged(const String& topic)
198{
199 MutexGuard<MutexRecursive> guard(m_mutex);
200 bool hasTopicChanged = m_hasTopicChanged;
201
202 /* Only a single topic, therefore its not necessary to check. */
203 PLUGIN_NOT_USED(topic);
204
205 m_hasTopicChanged = false;
206
207 return hasTopicChanged;
208}
209
210void SignalDetectorPlugin::setSlot(const ISlotPlugin* slotInterf)
211{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected