$darkmode
cloe::Trigger Class Reference

#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 Eventevent () const
 
Eventevent ()
 
const Actionaction () const
 
Actionaction ()
 
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)
 

Detailed Description

Trigger contains an event-action pair, that is executed when the event is triggered.


The documentation for this class was generated from the following files: