added distribution events
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include "utilities/IInputGPIOInterface.h"
|
||||
|
||||
#include "IDetector.h"
|
||||
#include "Event.h"
|
||||
#include "DistributingEvent.h"
|
||||
#include "IEventNotifier.h"
|
||||
|
||||
namespace FlippR_Driver
|
||||
@@ -33,7 +33,7 @@ class Detector : public IDetector
|
||||
{
|
||||
|
||||
public:
|
||||
Detector(std::unique_ptr<IInputGPIOInterface> input_gpio_interface, std::map<char, std::shared_ptr<Event>> events, std::shared_ptr<IEventNotifier> event_notifier);
|
||||
Detector(std::unique_ptr<IInputGPIOInterface> input_gpio_interface, std::map<char, std::shared_ptr<DistributingEvent>> events, std::shared_ptr<IEventNotifier> event_notifier);
|
||||
~Detector();
|
||||
|
||||
private:
|
||||
@@ -43,7 +43,7 @@ private:
|
||||
private:
|
||||
std::unique_ptr<IInputGPIOInterface> input_gpio_interface;
|
||||
|
||||
std::map<char, std::shared_ptr<Event>> events;
|
||||
std::map<char, std::shared_ptr<DistributingEvent>> events;
|
||||
|
||||
std::shared_ptr<IEventNotifier> event_notifier;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user