1 #ifndef _MADARA_WAIT_SETTINGS_ 2 #define _MADARA_WAIT_SETTINGS_ 77 bool t_treat_globals_as_locals,
78 bool t_signal_updates,
79 bool t_always_overwrite,
81 bool t_track_local_changes,
84 double t_poll_frequency,
double t_max_wait_time,
85 uint64_t t_clock_increment = 1,
86 bool t_treat_locals_as_globals =
false)
88 t_treat_globals_as_locals, t_signal_updates,
89 t_always_overwrite, t_always_expand, t_track_local_changes,
90 t_pre_print_statement, t_post_print_statement,
91 t_clock_increment, t_treat_locals_as_globals),
118 #endif // _MADARA_WAIT_SETTINGS_ double max_wait_time
Maximum time to wait for an expression to become true (in seconds)
static const WaitSettings DELAY_NO_EXPAND
Settings to delay sending modifieds, and not expand variables.
WaitSettings(bool t_delay_sending_modifieds, bool t_treat_globals_as_locals, bool t_signal_updates, bool t_always_overwrite, bool t_always_expand, bool t_track_local_changes, std::string t_pre_print_statement, std::string t_post_print_statement, double t_poll_frequency, double t_max_wait_time, uint64_t t_clock_increment=1, bool t_treat_locals_as_globals=false)
Constructor.
WaitSettings(const WaitSettings &rhs)
Copy constructor.
WaitSettings()
Constructor.
double poll_frequency
Frequency to poll an expression for truth (in seconds)
Encapsulates settings for an evaluation statement.
Provides functions and classes for the distributed knowledge base.
static const WaitSettings DELAY
Settings to delay sending modifieds, but do expand variables.
static const WaitSettings NO_EXPAND
Settings to immediately send modifieds, and not expand variables.
Copyright (c) 2015 Carnegie Mellon University.
Encapsulates settings for a wait statement.
static const WaitSettings DEFAULT
Settings to immediately send modifieds, but do expand variables.