| 91 | } |
| 92 | |
| 93 | auto AModule::update() -> void { |
| 94 | // Run user-provided update handler if configured |
| 95 | if (config_["on-update"].isString()) { |
| 96 | pid_children_.push_back(util::command::forkExec(config_["on-update"].asString())); |
| 97 | } |
| 98 | } |
| 99 | // Get mapping between event name and module action name |
| 100 | // Then call overridden doAction in order to call appropriate module action |
| 101 | auto AModule::doAction(const std::string& name) -> void { |
nothing calls this directly
no test coverage detected