27 lines
947 B
C++
27 lines
947 B
C++
//
|
|
// Created by rhetenor on 13.09.18.
|
|
//
|
|
|
|
#include "DriverFactory.h"
|
|
|
|
#include "utility/LoggerFactory.h"
|
|
|
|
#include "input/InputDriverFactory.h"
|
|
#include "output/OutputDriverFactory.h"
|
|
|
|
namespace flippR_driver
|
|
{
|
|
std::shared_ptr<input::InputDriver> get_InputDriver(std::istream& input_config_stream, std::istream& matrix_config_stream)
|
|
{
|
|
return input::InputDriverFactory::get_InputDriver(input_config_stream, matrix_config_stream);
|
|
}
|
|
|
|
std::shared_ptr<output::OutputDriver> get_OutputDriver(std::string & lamp_config_path,
|
|
std::string & solenoid_config_path,
|
|
std::string & sound_config_path,
|
|
std::string & display_config_path)
|
|
{
|
|
return output::OutputDriverFactory::get_OutputDriver(lamp_config_path, solenoid_config_path, sound_config_path, display_config_path);
|
|
}
|
|
}
|