working on cli and added lamp json
This commit is contained in:
16
FlippR-Driver/cli/OutputInterpreter.cpp
Normal file
16
FlippR-Driver/cli/OutputInterpreter.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// Created by rhetenor on 5/5/19.
|
||||
//
|
||||
|
||||
#include "OutputInterpreter.h"
|
||||
|
||||
#include <fstream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
OutputInterpreter::OutputInterpreter(std::string output_pin_config_file, std::string output_lamp_config_file,
|
||||
std::string output_solenoid_config_file, std::string output_sound_config_file,
|
||||
std::string output_display_config_file)
|
||||
: output_driver(flippR_driver::get_OutputDriver(ifstream(output_pin_config_file), ifstream(output_lamp_config_file),
|
||||
ifstream(output_solenoid_config_file), ifstream(output_sound_config_file), ifstream(output_display_config_file)))
|
||||
{}
|
||||
Reference in New Issue
Block a user