schema_editor/comdel/domain/connectioninstance.cpp

19 lines
825 B
C++
Raw Normal View History

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