diff options
Diffstat (limited to 'src/inputs.hpp')
| -rw-r--r-- | src/inputs.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/inputs.hpp b/src/inputs.hpp new file mode 100644 index 0000000..92b9005 --- /dev/null +++ b/src/inputs.hpp @@ -0,0 +1,22 @@ +#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); + static void GeneratePlatform(std::string p); + + double wake_duration; + double wake_interval; + double startup_delay; + bool is_sender; + int max_attempts; +};
\ No newline at end of file |
