some changes at events

This commit is contained in:
Neeflix
2018-09-27 23:08:56 +02:00
parent f1315cec88
commit cf466ba3d6
3 changed files with 53 additions and 79 deletions

View File

@@ -5,8 +5,11 @@
#include "DistributingEvent.h"
FlippR_Driver::Input::DistributingEvent::DistributingEvent(char address, int priority, std::string name,
std::chrono::milliseconds bounce_time, std::shared_ptr<IEventNotifier> event_notifier)
: Event(address, priority, name), bounce_time(bounce_time), event_notifier(event_notifier)
std::chrono::milliseconds bounce_time, std::shared_ptr<IEventNotifier> event_notifier):
Event(address, priority, name),
bounce_time(bounce_time),
event_notifier(event_notifier),
activation_state(NOT_ACTIVATED)
{}
void FlippR_Driver::Input::DistributingEvent::distribute()