1 #ifndef _MADARA_EVAL_SETTINGS_ 2 #define _MADARA_EVAL_SETTINGS_ 78 bool t_treat_globals_as_locals =
false,
79 bool t_signal_updates =
true,
80 bool t_always_overwrite =
false,
81 bool t_always_expand =
true,
82 bool t_track_local_changes =
false,
85 uint64_t t_clock_increment = 1,
86 bool t_treat_locals_as_globals =
false)
88 t_signal_updates, t_always_overwrite,
89 t_always_expand, t_track_local_changes,
90 t_clock_increment, t_treat_locals_as_globals),
134 #endif //_MADARA_EVAL_SETTINGS_ EvalSettings(bool t_delay_sending_modifieds, bool t_treat_globals_as_locals=false, bool t_signal_updates=true, bool t_always_overwrite=false, bool t_always_expand=true, bool t_track_local_changes=false, std::string t_pre_print_statement="", std::string t_post_print_statement="", uint64_t t_clock_increment=1, bool t_treat_locals_as_globals=false)
Constructor.
std::map< std::string, bool > send_list
Map of record names that are allowed to be sent after operation.
std::string pre_print_statement
Statement to print before evaluations.
static const EvalSettings DELAY
Settings to delay sending modifieds, but do expand variables.
std::string post_print_statement
Statement to print after evaluations.
EvalSettings()
Constructor.
Encapsulates settings for an evaluation statement.
Provides functions and classes for the distributed knowledge base.
Settings for applying knowledge updates.
static const EvalSettings DELAY_NO_EXPAND
Settings to delay sending modifieds, and not expand variables.
static const EvalSettings NO_EXPAND
Settings to immediately send modifieds, and not expand variables.
Copyright (c) 2015 Carnegie Mellon University.
static const EvalSettings DEFAULT
Settings to immediately send modifieds, but do expand variables.
bool delay_sending_modifieds
Toggle for sending modifieds in a single update event after each evaluation.
EvalSettings(const EvalSettings &rhs)
Copy constructor.