Integrates SoundFactory
This commit is contained in:
@@ -12,11 +12,12 @@ namespace flippR_driver
|
||||
namespace output
|
||||
{
|
||||
|
||||
Factory::Factory(nlohmann::json &object) :
|
||||
object{object}
|
||||
Factory::Factory(nlohmann::json &object, std::shared_ptr<PinController> pin_controller) :
|
||||
pin_controller{pin_controller}
|
||||
{
|
||||
this->object = object;
|
||||
this->initialize_port_extenders();
|
||||
this->port_extenders = this->object.at("port_extenders");
|
||||
this->port_extenders = object.at("port_extenders");
|
||||
}
|
||||
|
||||
void Factory::initialize_port_extender(nlohmann::json &extender)
|
||||
|
||||
Reference in New Issue
Block a user