From 4b321cfe80f0bbf94f3648a9fc056ae2c19a3436 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Thu, 6 May 2021 09:04:35 +0200 Subject: Improve platform management and allow energy simulation --- inputs.cc | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 inputs.cc (limited to 'inputs.cc') diff --git a/inputs.cc b/inputs.cc deleted file mode 100644 index 1f90ab6..0000000 --- a/inputs.cc +++ /dev/null @@ -1,14 +0,0 @@ -#include "inputs.hpp" - - - -Inputs::Inputs(std::string node_name){ - FILE* input_file = fopen(INPUTS_FILE, "rb"); - char input_file_buffer[65536]; - rapidjson::FileReadStream is(input_file, input_file_buffer, sizeof(input_file_buffer)); - d.ParseStream(is); - fclose(input_file); - - wake_duration=d[node_name.c_str()]["wake_duration"].GetDouble(); - wake_interval=d[node_name.c_str()]["wake_interval"].GetDouble(); -} \ No newline at end of file -- cgit v1.2.3