1 #ifndef _MADARA_KNOWLEDGE_UPDATE_SETTINGS_H_
2 #define _MADARA_KNOWLEDGE_UPDATE_SETTINGS_H_
12 #include "madara/MadaraExport.h"
61 bool t_signal_changes =
true,
bool t_always_overwrite =
false,
62 bool t_always_expand =
true,
bool t_track_local_changes =
true,
63 uint64_t t_clock_increment = 1,
bool t_treat_locals_as_globals =
false,
64 bool t_stream_changes =
true,
bool t_exceptions_on_unitialized =
false)
66 treat_globals_as_locals(t_treat_globals_as_locals),
67 signal_changes(t_signal_changes),
68 always_overwrite(t_always_overwrite),
69 track_local_changes(t_track_local_changes),
70 clock_increment(t_clock_increment),
71 treat_locals_as_globals(t_treat_locals_as_globals),
72 stream_changes(t_stream_changes)
100 bool treat_globals_as_locals =
false;
108 bool signal_changes =
true;
114 bool always_overwrite =
false;
121 bool track_local_changes =
true;
126 uint64_t clock_increment = 1;
138 bool treat_locals_as_globals =
false;
144 bool stream_changes =
true;
Settings for applying knowledge updates.
Settings for applying knowledge updates.
static const KnowledgeUpdateSettings DEFAULT
static const KnowledgeUpdateSettings GLOBAL_AS_LOCAL_NO_EXPAND
KnowledgeUpdateSettings(const KnowledgeUpdateSettings &rhs)=default
Constructor.
KnowledgeUpdateSettings()=default
Constructor.
static const KnowledgeUpdateSettings GLOBAL_AS_LOCAL
static const KnowledgeUpdateSettings NO_EXPAND
KnowledgeUpdateSettings(bool t_treat_globals_as_locals, bool t_signal_changes=true, bool t_always_overwrite=false, bool t_always_expand=true, bool t_track_local_changes=true, uint64_t t_clock_increment=1, bool t_treat_locals_as_globals=false, bool t_stream_changes=true, bool t_exceptions_on_unitialized=false)
Constructor.
~KnowledgeUpdateSettings()=default
Destructor.
Provides functions and classes for the distributed knowledge base.
Copyright(c) 2020 Galois.