finished Detector tests
This commit is contained in:
@@ -12,14 +12,15 @@
|
||||
|
||||
#include "../utilities/config.h"
|
||||
|
||||
using namespace Input;
|
||||
namespace Input
|
||||
{
|
||||
|
||||
Detector::Detector(IInputGPIOInterface* input_gpio_interface, std::map<char, Event> events, IEventNotifier* event_notifier) :
|
||||
input_gpio_interface(input_gpio_interface), events(events), is_running(true), event_notifier(event_notifier)
|
||||
{
|
||||
this->detect_thread = std::thread(&Detector::detect, this);
|
||||
|
||||
CLOG(WARNING, INPUT_LOGGER) << "Created Detector";
|
||||
CLOG(INFO, INPUT_LOGGER) << "Created Detector";
|
||||
}
|
||||
|
||||
Detector::~Detector()
|
||||
@@ -68,3 +69,7 @@ bool Detector::check_inputs(char& address)
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user