2022-04-05 21:48:07 +00:00
|
|
|
#include "connectioninstance.h"
|
|
|
|
|
|
|
|
namespace domain {
|
|
|
|
|
|
|
|
|
2022-05-07 12:19:43 +00:00
|
|
|
ConnectionInstance::ConnectionInstance(ComponentInstance *instance, std::vector<InstanceAttribute> attributes, Connection connection)
|
2022-05-07 11:20:09 +00:00
|
|
|
: instance(instance), attributes(attributes), connection(connection)
|
2022-04-05 21:48:07 +00:00
|
|
|
{}
|
|
|
|
|
2022-05-07 12:19:43 +00:00
|
|
|
BusConnectionInstance::BusConnectionInstance(ComponentInstance *instance, std::vector<InstanceAttribute> attributes, BusInstance *bus, Connection connection)
|
2022-05-07 11:20:09 +00:00
|
|
|
: ConnectionInstance(instance, attributes, connection), bus(bus)
|
2022-04-05 21:48:07 +00:00
|
|
|
{}
|
|
|
|
|
2022-05-07 12:19:43 +00:00
|
|
|
DirectConnectionInstance::DirectConnectionInstance(ComponentInstance *instance, ComponentInstance *secondInstance, std::vector<InstanceAttribute> attributes, BusInstance *bus, Connection connection)
|
2022-05-07 11:20:09 +00:00
|
|
|
: ConnectionInstance(instance, attributes, connection), secondInstance(secondInstance), bus(bus)
|
2022-04-05 21:48:07 +00:00
|
|
|
{}
|
|
|
|
|
|
|
|
} // namespace domain
|