Stochastic Loading Module
|
#include <function_dispatcher.h>
Public Member Functions | |
DispatchRegister (const std::string &key, std::function< Treturntype(Targs...)> new_function) | |
A helper class to register a function with the dispatcher
Treturntype | Function return type |
Targs | Function arguments |
Definition at line 95 of file function_dispatcher.h.
|
inlineexplicit |
Register with a given key
[in] | key | Key to item in registry |
Definition at line 101 of file function_dispatcher.h.