diff options
Diffstat (limited to 'inputs.cc')
| -rw-r--r-- | inputs.cc | 14 |
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 |
