renamed impl to detail
This commit is contained in:
@@ -12,9 +12,9 @@
|
||||
|
||||
#include "utility/LoggerFactory.h"
|
||||
|
||||
#include "input/impl/InputDriver.h"
|
||||
#include "input/impl/EventNotifier.h"
|
||||
#include "input/impl/Detector.h"
|
||||
#include "input/detail/InputDriver.h"
|
||||
#include "input/detail/EventNotifier.h"
|
||||
#include "input/detail/Detector.h"
|
||||
|
||||
namespace flippR_driver
|
||||
{
|
||||
@@ -31,17 +31,17 @@ std::shared_ptr<InputDriver> get_InputDriver(std::istream &input_pin_stream, std
|
||||
LoggerFactory::CreateInputLogger();
|
||||
|
||||
IBlockingQueue<Event> *event_queue = new BlockingQueue<Event>;
|
||||
std::shared_ptr<EventNotifier> event_notifier(new impl::EventNotifier(event_queue));
|
||||
std::shared_ptr<EventNotifier> event_notifier(new detail::EventNotifier(event_queue));
|
||||
|
||||
std::vector<std::shared_ptr<DistributingEvent>> events;
|
||||
std::map<std::string, std::shared_ptr<Event>> name_event_map;
|
||||
|
||||
create_events(matrix_config_stream, events, name_event_map, event_notifier);
|
||||
|
||||
std::unique_ptr<InputPinController> input_gpio_interface(new impl::InputPinController(create_pin_map(input_pin_stream)));
|
||||
std::unique_ptr<Detector> detector(new impl::Detector(std::move(input_gpio_interface), events));
|
||||
std::unique_ptr<InputPinController> input_gpio_interface(new detail::InputPinController(create_pin_map(input_pin_stream)));
|
||||
std::unique_ptr<Detector> detector(new detail::Detector(std::move(input_gpio_interface), events));
|
||||
|
||||
return std::make_shared<impl::InputDriver>(event_notifier, std::move(detector), name_event_map);
|
||||
return std::make_shared<detail::InputDriver>(event_notifier, std::move(detector), name_event_map);
|
||||
}
|
||||
|
||||
namespace
|
||||
|
||||
Reference in New Issue
Block a user