| 104 | } |
| 105 | |
| 106 | void TriggerGroup::onRegister( |
| 107 | const std::string& triggerName, std::function<void(const TriggerEnv&)> callback) |
| 108 | { |
| 109 | this->get(triggerName).lock()->onRegister(callback); |
| 110 | } |
| 111 | |
| 112 | void TriggerGroup::onUnregister( |
| 113 | const std::string& triggerName, std::function<void(const TriggerEnv&)> callback) |