aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/CommandHandlerRegistry.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-10-07 12:35:21 +0100
committerJim Flynn Arm <jim.flynn@arm.com>2019-10-08 08:22:51 +0000
commitc2728f95086c54aa842e4c1dae8f3b5c290a72fa (patch)
tree82002c3d0c97abfeed905d0e922579dab09b2c31 /src/profiling/CommandHandlerRegistry.hpp
parente61ffd00a37f02338129e92d65be2f01600014c0 (diff)
downloadarmnn-c2728f95086c54aa842e4c1dae8f3b5c290a72fa.tar.gz
IVGCVSW-3937 Refactor and improve the CommandHandleRegistry class
* Added simplified RegisterFunctor method * Code refactoring * Updated the unit tests accordingly Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: Iee941d898facd9c1ab5366e87c611c99a0468830
Diffstat (limited to 'src/profiling/CommandHandlerRegistry.hpp')
-rw-r--r--src/profiling/CommandHandlerRegistry.hpp2
1 files changed, 2 insertions, 0 deletions
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: