MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / Connection

Method Connection

QtNodeEditor/src/Connection.cpp:33–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31using QtNodes::TypeConverter;
32
33Connection::
34Connection(PortType portType,
35 Node& node,
36 PortIndex portIndex)
37 : _uid(QUuid::createUuid())
38 , _style(QtNodes::StyleCollection::connectionStyle())
39 , _outPortIndex(INVALID)
40 , _inPortIndex(INVALID)
41 , _connectionState()
42{
43 setNodeToPort(node, portType, portIndex);
44
45 setRequiredPort(oppositePort(portType));
46}
47
48
49Connection::

Callers

nothing calls this directly

Calls 1

oppositePortFunction · 0.85

Tested by

no test coverage detected