Improve ActionManager
Triggers and actions can be improved by giving them a "setup stage".
To Do
- Currently, the triggers are
bool(Config)
, but ideally they should bestd::function<bool(void)>(cfg)
, such that there is the possibility for setting them up once and not re-evaluating parameter extraction from the configuration each time. - Furthermore, it should be made easier to configure triggers, perhaps by adding something like "named triggers", which can be set up once and shared between procedures ...
- Same could be done for actions
Edited by Yunus Sevinchan