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

Method processAllHandlers

lib/TopicHandlerService/src/TopicHandlerService.cpp:673–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671}
672
673void TopicHandlerService::processAllHandlers()
674{
675 uint8_t idx = 0U;
676 uint8_t count = 0U;
677 ITopicHandler** topicHandlerList = TopicHandlers::getList(count);
678
679 while (count > idx)
680 {
681 ITopicHandler* handler = topicHandlerList[idx];
682
683 if (nullptr != handler)
684 {
685 handler->process();
686 }
687
688 ++idx;
689 }
690}
691
692void TopicHandlerService::notifyAllHandlers(const String& deviceId, const String& entityId, const String& topic)
693{

Callers

nothing calls this directly

Calls 1

processMethod · 0.45

Tested by

no test coverage detected