factoryyyyyN

This commit is contained in:
Jonas Zeunert
2018-12-10 23:49:29 +01:00
parent d65d87b8f1
commit 6367e79898
16 changed files with 99 additions and 69 deletions

View File

@@ -20,7 +20,7 @@ namespace output
class OutputDriver : public IOutputDriver
{
public:
OutputDriver(std::map<std::string, std::shared_ptr<items::ISolenoid>> solenoids, std::map<std::string, std::shared_ptr<items::ILamp>> lamps, std::map<char, std::shared_ptr<items::IDisplay>> displays, std::map<std::string, std::shared_ptr<items::ISound>> sounds);
OutputDriver(std::map<std::string, std::shared_ptr<items::ISolenoid>> solenoids, std::map<std::string, std::shared_ptr<items::ILamp>> lamps, std::map<std::string, std::shared_ptr<items::ISound>> sounds, std::map<char, std::shared_ptr<items::IDisplay>> displays);
~OutputDriver() override = default;
// todo what is flipper_relay ?
@@ -37,8 +37,9 @@ public:
private:
const std::map<std::string, std::shared_ptr<items::ILamp>> lamps;
const std::map<std::string, std::shared_ptr<items::ISolenoid>> solenoids;
const std::map<char, std::shared_ptr<items::IDisplay>> displays;
const std::map<std::string, std::shared_ptr<items::ISound>> sounds;
const std::map<char, std::shared_ptr<items::IDisplay>> displays;
};
} /* namespace output */