REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
registry.h
Go to the documentation of this file.
44 bool set(const std::string &msg_type, MessageHandler *handler, net::auth::SecurityLevel minimumClearance);
The Message Registry holds the list of all known message types.
Definition registry.h:30
bool set(const std::string &msg_type, MessageHandler *handler, net::auth::SecurityLevel minimumClearance)
Definition registry.cpp:97
void init(carrier::Carrier &c)
Actual registration of all handlers in code.
Definition registry.cpp:23
net::auth::SecurityLevel requiredClearance(const std::string &msg_type)
Definition registry.cpp:87
MessageHandler * lookup(const std::string &msg_type)
Returns nullptr if not found.
Definition registry.cpp:77
A MessageHandler is a functor/closure like event handler.
Definition handler.h:21
Define singletons which are not static-space allocated (and thus consume valuable ICTM space).
Definition singleton.h:46
Definition carrier.h:12