| 789 | } |
| 790 | |
| 791 | bool Object::nodeState(WireNode wireNode) const { |
| 792 | if (wireNode.direction == WireDirection::Input) |
| 793 | return m_inputNodes.at(wireNode.nodeIndex).state.get(); |
| 794 | else |
| 795 | return m_outputNodes.at(wireNode.nodeIndex).state.get(); |
| 796 | } |
| 797 | |
| 798 | void Object::addNodeConnection(WireNode wireNode, WireConnection nodeConnection) { |
| 799 | if (wireNode.direction == WireDirection::Input) { |
no test coverage detected