TestEventNotifier is working now

This commit is contained in:
Neeflix
2018-07-11 22:17:49 +02:00
parent 8b9ec68662
commit 9e3231f037
4 changed files with 32 additions and 16 deletions

View File

@@ -22,7 +22,9 @@ std::shared_ptr<InputDriver> InputDriverFactory::get_InputDriver(std::istream& i
{
ConfigureLogger();
std::shared_ptr<IEventNotifier> event_notifier = std::make_shared<EventNotifier>();
IBlockingQueue<Event>* event_queue = new BlockingQueue<Event>;
std::shared_ptr<IEventNotifier> event_notifier = std::make_shared<EventNotifier>(event_queue);
std::unique_ptr<IInputGPIOInterface> input_gpio_interface = std::make_unique<InputGPIOInterface>(input_config_stream);