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

Method registerTopicsByUID

src/Plugin/PluginMgr.cpp:526–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526void PluginMgr::registerTopicsByUID(const String& deviceId, IPluginMaintenance* plugin)
527{
528 if (nullptr != plugin)
529 {
530 String entityId = getEntityIdByPluginUid(plugin->getUID());
531
532 TopicHandlerService::getInstance().registerTopics(m_deviceId, entityId.c_str(), plugin);
533 }
534}
535
536void PluginMgr::unregisterTopicsByUID(const String& deviceId, IPluginMaintenance* plugin, bool purge)
537{

Callers

nothing calls this directly

Calls 3

getUIDMethod · 0.80
registerTopicsMethod · 0.80
c_strMethod · 0.80

Tested by

no test coverage detected