GAMS  1.4.0
ControllerSettings.h
Go to the documentation of this file.
1 
54 #ifndef _GAMS_CONTROLLERS_CONTROLLERSETTINGS_H_
55 #define _GAMS_CONTROLLERS_CONTROLLERSETTINGS_H_
56 
57 #include <string>
58 
59 #include "madara/knowledge/EvalSettings.h"
60 #include "gams/GamsExport.h"
61 
62 namespace gams { namespace controllers {
63 
65 {
74 };
75 
77 {
80 };
81 
83 {
87 };
88 
90 {
92 };
93 
98 {
99 public:
103  ControllerSettings() = default;
104 
110  std::string agent_prefix = "agent.0";
111 
116  std::string checkpoint_prefix = "checkpoint";
117 
119  int checkpoint_strategy = CHECKPOINT_NONE;
120 
122  int gams_log_level = -1;
123 
125  double loop_hertz = 2.0;
126 
128  int madara_log_level = -1;
129 
131  double run_time = -1;
132 
134  double send_hertz = 1.0;
135 
137  madara::knowledge::EvalSettings eval_settings =
138  madara::knowledge::EvalSettings::SEND;
139 
141  int threading_strategy = THREADS_NONE;
142 
144  int scheduling_strategy = SCHEDULE_ROUND_ROBIN;
145 
147  bool shared_memory_transport = true;
148 
151  int simulation_engine = 0;
152 };
153 
154 } }
155 
156 #endif // _GAMS_CONTROLLERS_CONTROLLERSETTINGS_H_
#define GAMS_EXPORT
Definition: GamsExport.h:20
Settings used for initializing GAMS controllers.
ControllerSettings()=default
Constructor.
Contains all GAMS-related tools, classes and code.