Refactores item factories
This commit is contained in:
@@ -28,8 +28,8 @@ std::shared_ptr<OutputDriver> get_OutputDriver(const std::string & solenoid_conf
|
||||
const std::string & sound_config_path,
|
||||
const std::string & display_config_path);
|
||||
|
||||
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);
|
||||
template<typename FactoryType, typename ControllerType, typename ItemType>
|
||||
std::map<std::string, std::shared_ptr<ItemType>> get_items(const std::string & config_path, std::shared_ptr<PinController> pin_controller);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user