//
// 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::istream& lamp_config,
                                                      std::istream& solenoid_config,
                                                      std::istream& sound_config,
                                                      std::istream& display_config)
  {
    return output::OutputDriverFactory::get_OutputDriver(lamp_config, solenoid_config, sound_config, display_config);
  }
}
