From 7c7e69ffa189a73d1052ea26ab0d5d9fa691f585 Mon Sep 17 00:00:00 2001 From: Vasily Davydov Date: Thu, 18 May 2023 23:36:47 +0300 Subject: [PATCH] threads: manager: [#46] renmae event handling method --- source/shoh/src/threads/manager/Manager.cpp | 2 +- source/shoh/src/threads/manager/Menu.cpp | 2 +- source/shoh/src/threads/manager/Menu.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/shoh/src/threads/manager/Manager.cpp b/source/shoh/src/threads/manager/Manager.cpp index 507a9a6..a450a3f 100644 --- a/source/shoh/src/threads/manager/Manager.cpp +++ b/source/shoh/src/threads/manager/Manager.cpp @@ -26,7 +26,7 @@ void Manager::taskFunction() for(;;) { _qm->receive(ThreadCommon::QueueManager::manager_event_master, &data, portMAX_DELAY); - _menu.HandleEventPair(&data); + _menu.parseEvent(&data); } } diff --git a/source/shoh/src/threads/manager/Menu.cpp b/source/shoh/src/threads/manager/Menu.cpp index cd31c4d..f2086f4 100644 --- a/source/shoh/src/threads/manager/Menu.cpp +++ b/source/shoh/src/threads/manager/Menu.cpp @@ -38,7 +38,7 @@ Menu::readSetPointFromEEPROM (void) } } -void Menu::HandleEventPair (Event *ep) +void Menu::parseEvent (Event *ep) { switch(ep->getType()/*EventType*/) { diff --git a/source/shoh/src/threads/manager/Menu.h b/source/shoh/src/threads/manager/Menu.h index e7fdadb..10a19b7 100644 --- a/source/shoh/src/threads/manager/Menu.h +++ b/source/shoh/src/threads/manager/Menu.h @@ -22,7 +22,7 @@ class Menu public: Menu (ThreadCommon::QueueManager* qm); virtual ~Menu (); - void HandleEventPair (Event *ep); + void parseEvent (Event *ep); private: /* Variables and objects */