19 lines
822 B
C++
19 lines
822 B
C++
#include "connectioninstance.h"
|
|
|
|
namespace domain {
|
|
|
|
|
|
ConnectionInstance::ConnectionInstance(ComponentInstance *instance, std::vector<InstanceAttribute> attributes, Connection connection)
|
|
: instance(instance), attributes(attributes), connection(connection)
|
|
{}
|
|
|
|
BusConnectionInstance::BusConnectionInstance(ComponentInstance *instance, std::vector<InstanceAttribute> attributes, BusInstance *bus, Connection connection)
|
|
: ConnectionInstance(instance, attributes, connection), bus(bus)
|
|
{}
|
|
|
|
DirectConnectionInstance::DirectConnectionInstance(ComponentInstance *instance, ComponentInstance *secondInstance, std::vector<InstanceAttribute> attributes, BusInstance *bus, Connection connection)
|
|
: ConnectionInstance(instance, attributes, connection), secondInstance(secondInstance), bus(bus)
|
|
{}
|
|
|
|
} // namespace domain
|