From c2728f95086c54aa842e4c1dae8f3b5c290a72fa Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Mon, 7 Oct 2019 12:35:21 +0100 Subject: IVGCVSW-3937 Refactor and improve the CommandHandleRegistry class * Added simplified RegisterFunctor method * Code refactoring * Updated the unit tests accordingly Signed-off-by: Matteo Martincigh Change-Id: Iee941d898facd9c1ab5366e87c611c99a0468830 --- src/profiling/CommandHandlerRegistry.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/profiling/CommandHandlerRegistry.hpp') diff --git a/src/profiling/CommandHandlerRegistry.hpp b/src/profiling/CommandHandlerRegistry.hpp index 61d45b0fd2..9d514bfcc3 100644 --- a/src/profiling/CommandHandlerRegistry.hpp +++ b/src/profiling/CommandHandlerRegistry.hpp @@ -36,6 +36,8 @@ public: void RegisterFunctor(CommandHandlerFunctor* functor, uint32_t packetId, uint32_t version); + void RegisterFunctor(CommandHandlerFunctor* functor); + CommandHandlerFunctor* GetFunctor(uint32_t packetId, uint32_t version) const; private: -- cgit v1.2.1