aboutsummaryrefslogtreecommitdiff
path: root/src/inputs.hpp
blob: 92b90056cf831c65d37343e9ccaf331196b914a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
};