diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-05-05 16:42:11 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-05-05 16:42:11 +0200 |
| commit | f0208cbc865822057196de77054163dbade48581 (patch) | |
| tree | d6813d3dc122314014c18d56c4ade14d363129c0 /inputs.hpp | |
Create simulator
Diffstat (limited to 'inputs.hpp')
| -rw-r--r-- | inputs.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/inputs.hpp b/inputs.hpp new file mode 100644 index 0000000..611df0f --- /dev/null +++ b/inputs.hpp @@ -0,0 +1,17 @@ +#include "rapidjson/document.h" +#include "rapidjson/filereadstream.h" +#include <cstdio> +#include <string> + +#define INPUTS_FILE "inputs.json" + +using namespace rapidjson; + +class Inputs { + Document d; + std::string node_name; +public: + Inputs(std::string node_name); + double wake_duration; + double wake_interval; +};
\ No newline at end of file |
