$darkmode
#include <trigger.hpp>
Public Member Functions | |
| Trigger (const std::string &label, Source s, EventPtr &&e, ActionPtr &&a) | |
| TriggerPtr | clone () const |
| const std::string & | label () const |
| Source | source () const |
| Duration | since () const |
| void | set_since (Duration t) |
| const Event & | event () const |
| Event & | event () |
| const Action & | action () const |
| Action & | action () |
| bool | is_significant () const |
| bool | is_transient () const |
| bool | is_conceal () const |
| void | set_conceal (bool value=true) |
| bool | is_sticky () const |
| void | set_sticky (bool value=true) |
Friends | |
| void | to_json (fable::Json &j, const Trigger &t) |
Trigger contains an event-action pair, that is executed when the event is triggered.