aboutsummaryrefslogtreecommitdiff
path: root/inputs.cc
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-05-06 09:04:35 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-05-06 09:04:35 +0200
commit4b321cfe80f0bbf94f3648a9fc056ae2c19a3436 (patch)
tree9e6e8d561a77b9f684d33716b642521d1bce67c0 /inputs.cc
parente8ad4ccb0979e1118e310d1e514ef3a58275b66f (diff)
Improve platform management and allow energy simulation
Diffstat (limited to 'inputs.cc')
-rw-r--r--inputs.cc14
1 files changed, 0 insertions, 14 deletions
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