10 #include <boost/format.hpp> 26 registry[key] = functor;
41 if (registry.find(key) == registry.end())
44 boost::str(boost::format(
"Functor with requested PacketId=%1% and Version=%2% does not exist")
50 if (commandHandlerFunctor ==
nullptr)
53 boost::str(boost::format(
"Invalid functor registered for PacketId=%1% and Version=%2%")
58 return commandHandlerFunctor;
uint32_t GetFamilyId() const
CommandHandlerFunctor * GetFunctor(uint32_t familyId, uint32_t packetId, uint32_t version) const
uint32_t GetPacketId() const
Copyright (c) 2020 ARM Limited.
uint32_t GetVersion() const
#define ARMNN_ASSERT_MSG(COND, MSG)
void RegisterFunctor(CommandHandlerFunctor *functor, uint32_t familyId, uint32_t packetId, uint32_t version)