GAMS  1.2.2
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 "gams/GamsExport.h"
60 
61 namespace gams
62 {
63  namespace controllers
64  {
66  {
74  };
75 
80  {
81  public:
86  : agent_prefix ("agent.0"), checkpoint_prefix ("checkpoint"),
87  checkpoint_strategy (CHECKPOINT_NONE), gams_log_level (-1), loop_hertz (2.0),
88  madara_log_level (-1), run_time (-1), send_hertz (1.0)
89  {
90  }
91 
96  std::string agent_prefix;
97 
102  std::string checkpoint_prefix;
103 
106 
109 
111  double loop_hertz;
112 
115 
117  double run_time;
118 
120  double send_hertz;
121  };
122  }
123 }
124 
125 #endif // _GAMS_CONTROLLERS_CONTROLLERSETTINGS_H_
std::string agent_prefix
the default agent prefix (e.g., "agent.bob" or "agent.0").
int checkpoint_strategy
the knowledge checkpointing strategy
int gams_log_level
the gams logging level (negative means don&#39;t change)
double run_time
maximum runtime (-1 means persistent, forever)
Contains all GAMS-related tools, classes and code.
#define GAMS_EXPORT
Definition: GamsExport.h:20
double loop_hertz
the hertz rate that a controller should run at
std::string checkpoint_prefix
the knowledge checkpointing file system prefix (e.g., "./checkpoint" will save checkpoints to current...
double send_hertz
the hertz rate to call send_modifieds at
Settings used for initializing GAMS controllers.
int madara_log_level
the MADARA logging level (negative means don&#39;t change)