renamed impl to detail

This commit is contained in:
Jonas Zeunert
2018-12-14 16:16:44 +01:00
parent b663e130ac
commit 3b72274d6b
43 changed files with 111 additions and 111 deletions

View File

@@ -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

View File

@@ -13,7 +13,7 @@
#include "input/InputDriver.h"
#include "DistributingEvent.h"
#include "input/impl/InputPinController.h"
#include "input/detail/InputPinController.h"
#include "input/EventNotifier.h"
namespace flippR_driver

View File

@@ -15,7 +15,7 @@ namespace flippR_driver
{
namespace input
{
namespace impl
namespace detail
{
Detector::Detector(std::unique_ptr<InputPinController> input_gpio_interface, std::vector<std::shared_ptr<DistributingEvent>> events)

View File

@@ -29,7 +29,7 @@ namespace flippR_driver
{
namespace input
{
namespace impl
namespace detail
{
class Detector : public input::Detector

View File

@@ -11,7 +11,7 @@ namespace flippR_driver
{
namespace input
{
namespace impl
namespace detail
{
EventHandler::EventHandler(std::shared_ptr<InputDriver> input_driver) :

View File

@@ -21,7 +21,7 @@ namespace flippR_driver
{
namespace input
{
namespace impl
namespace detail
{
class EventHandler;

View File

@@ -15,7 +15,7 @@ namespace flippR_driver
{
namespace input
{
namespace impl
namespace detail
{
EventNotifier::EventNotifier(utility::IBlockingQueue<Event> *queue) :

View File

@@ -25,7 +25,7 @@ namespace flippR_driver
{
namespace input
{
namespace impl
namespace detail
{
class EventNotifier : public input::EventNotifier

View File

@@ -12,7 +12,7 @@ namespace flippR_driver
{
namespace input
{
namespace impl
namespace detail
{
InputDriver::InputDriver(std::shared_ptr<EventNotifier> event_notifier, std::unique_ptr<Detector> detector,

View File

@@ -18,7 +18,7 @@ namespace flippR_driver
{
namespace input
{
namespace impl
namespace detail
{
class InputDriver : public input::InputDriver

View File

@@ -17,7 +17,7 @@ namespace flippR_driver
{
namespace input
{
namespace impl
namespace detail
{
using namespace nlohmann;

View File

@@ -19,7 +19,7 @@ namespace flippR_driver
{
namespace input
{
namespace impl
namespace detail
{
class InputPinController : public input::InputPinController, public PinController