loosely-coupled-dss/src/inputs.hpp

22 lines
443 B
C++
Raw Normal View History

2021-05-05 16:42:11 +02:00
#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);
2021-05-05 16:42:11 +02:00
double wake_duration;
double wake_interval;
double startup_delay;
bool is_sender;
int max_attempts;
2021-05-05 16:42:11 +02:00
};