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

Method getTopic

lib/SignalDetectorPlugin/src/SignalDetectorPlugin.cpp:93–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93bool SignalDetectorPlugin::getTopic(const String& topic, JsonObject& value) const
94{
95 bool isSuccessful = false;
96
97 if (true == topic.equals(TOPIC_CONFIG))
98 {
99 getConfiguration(value);
100 isSuccessful = true;
101 }
102
103 return isSuccessful;
104}
105
106bool SignalDetectorPlugin::setTopic(const String& topic, const JsonObjectConst& value)
107{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected