uh the fucking tests are fucking compiling :sigh: ♿ fuck itgit add *git add *git add *git add *git add *
This commit is contained in:
@@ -9,8 +9,10 @@
|
||||
#define INPUTFACTORY_H_
|
||||
|
||||
#include <fstream>
|
||||
#include <atomic>
|
||||
|
||||
#include "IDetector.h"
|
||||
#include "Detector.h"
|
||||
#include "InputDriver.h"
|
||||
|
||||
#include "../utilities/InputGPIOInterface.h"
|
||||
#include "../utilities/config.h"
|
||||
@@ -18,21 +20,21 @@
|
||||
#include "../lib/easylogging/easylogging++.h"
|
||||
#include "IEventNotifier.h"
|
||||
|
||||
using namespace nlohmann;
|
||||
|
||||
|
||||
INITIALIZE_EASYLOGGINGPP
|
||||
|
||||
namespace Input
|
||||
{
|
||||
class InputFactory
|
||||
class InputDriverFactory
|
||||
{
|
||||
|
||||
public:
|
||||
static shared_ptr<IInputDriver*> get_InputDriver(std::string& input_config_path, std::string& matrix_config_path);
|
||||
static std::shared_ptr<InputDriver> get_InputDriver(std::string& input_config_path, std::string& matrix_config_path);
|
||||
private:
|
||||
static IDetector* get_detector(std::string& input_config_path, std::string& matrix_config_path);
|
||||
static std::map<char, Event> create_input_events(json matrix_config);
|
||||
static Detector* get_detector(std::string& input_config_path, std::string& matrix_config_path);
|
||||
static std::map<char, Event> create_input_events(nlohmann::json matrix_config);
|
||||
static void ConfigureLogger();
|
||||
|
||||
};
|
||||
}
|
||||
#endif /* INPUTFACTORY_H_ */
|
||||
|
||||
Reference in New Issue
Block a user