#include "connectioninstance.h" namespace domain { ConnectionInstance::ConnectionInstance(ComponentInstance *instance, std::vector attributes, Connection connection) : instance(instance), attributes(attributes), connection(connection) {} BusConnectionInstance::BusConnectionInstance(ComponentInstance *instance, std::vector attributes, BusInstance *bus, Connection connection) : ConnectionInstance(instance, attributes, connection), bus(bus) {} DirectConnectionInstance::DirectConnectionInstance(ComponentInstance *instance, ComponentInstance *secondInstance, std::vector attributes, BusInstance *bus, Connection connection) : ConnectionInstance(instance, attributes, connection), secondInstance(secondInstance), bus(bus) {} } // namespace domain