creativity  v1.3.0
Agent-based model of creativity and piracy
GUI.hpp
1 #pragma once
2 #include "creativity/cmdargs/Simulator.hpp"
3 #include <string>
4 
5 namespace boost { namespace program_options { class variables_map; } }
6 namespace creativity { struct CreativitySettings; }
7 
8 namespace creativity { namespace cmdargs {
9 
11 class GUI : public Simulator {
12  public:
15 
17  bool start = false;
18 
22  bool initialize = false;
23 
25  std::string input;
26 
28  bool memory = false;
29 
31  virtual std::string usage() const override;
32 
34  virtual std::string help() const override;
35 
37  virtual std::string versionSuffix() const override;
38 
39  protected:
41  virtual void addOptions() override;
42 
44  virtual void postParse(boost::program_options::variables_map &vars) override;
45 
46 };
47 
48 }}
Definition: CLI.hpp:5
Primary namespace for all Creativity library code.
Definition: config.hpp:4
CmdArgs/Simulator subclass for graphical simulator command-line arguments.
Definition: GUI.hpp:11
Common base class for CLI and GUI argument handling for running a simulation.
Definition: Simulator.hpp:24
std::string input
The input file (for the GUI)
Definition: GUI.hpp:25
Simulation parameters that are used to configure the simulation when calling setup().
Definition: CreativitySettings.hpp:10