blob: fa8af174304db75c02365caf6635a864186ce523 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#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;
bool use_hint;
int max_attempts;
int data_size;
};
|