Lines Matching full:trigger
132 bool Action::ParsePropertyTrigger(const std::string& trigger, std::string* err) {
134 std::string prop_name(trigger.substr(prop_str.length()));
137 *err = "property trigger found without matching '='";
181 bool Action::InitSingleTrigger(const std::string& trigger) {
182 std::vector<std::string> name_vector{trigger};
221 bool Action::CheckEventTrigger(const std::string& trigger) const {
223 trigger == event_trigger_ &&
265 class EventTrigger : public Trigger {
267 EventTrigger(const std::string& trigger) : trigger_(trigger) {
276 class PropertyTrigger : public Trigger {
289 class BuiltinTrigger : public Trigger {
322 void ActionManager::QueueEventTrigger(const std::string& trigger) {
323 trigger_queue_.push(std::make_unique<EventTrigger>(trigger));
351 // Loop through the trigger queue until we have an action to execute
405 *err = "actions must have a trigger";