Impelements and integrates DisplayFactory. Further does some refactoring
This commit is contained in:
@@ -31,15 +31,6 @@ std::shared_ptr<OutputDriver> get_OutputDriver(const std::string & solenoid_conf
|
||||
template<typename FactoryType, typename ControllerType>
|
||||
std::map<std::string, std::shared_ptr<items::Item>> get_items(const std::string & config_path, std::shared_ptr<PinController> pin_controller);
|
||||
|
||||
std::shared_ptr<SoundBoardPinController> create_SoundBoardPinController();
|
||||
|
||||
std::map<std::string, uint8_t> parse_pins_display_board(std::istream & display_config);
|
||||
std::vector<std::shared_ptr<items::OutputDisplay>> create_displays();
|
||||
std::shared_ptr<items::OutputDisplay> create_display(nlohmann::json &display_json);
|
||||
std::map<uint8_t, std::shared_ptr<items::Display>> map_displays(const std::vector<std::shared_ptr<items::OutputDisplay>> &displays);
|
||||
|
||||
template<typename type>
|
||||
type get_value(const std::string & name, nlohmann::json & object, const std::string & file_name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user