| 499 | } |
| 500 | |
| 501 | void |
| 502 | Exec_Program::DisconnectInput(VdfInput *const input) |
| 503 | { |
| 504 | TRACE_FUNCTION(); |
| 505 | |
| 506 | _inputsRequiringRecompilation.insert(input); |
| 507 | |
| 508 | // All source nodes of the input's connections are now potentially isolated. |
| 509 | // Iterate over a copy of the connections, because the original vector will |
| 510 | // be modified by VdfNetwork::Disconnect. |
| 511 | const VdfConnectionVector connections = input->GetConnections(); |
| 512 | for (VdfConnection *const connection : connections) { |
| 513 | _potentiallyIsolatedNodes.insert(&connection->GetSourceNode()); |
| 514 | _network.Disconnect(connection); |
| 515 | } |
| 516 | } |
| 517 | |
| 518 | std::unique_ptr<VdfIsolatedSubnetwork> |
| 519 | Exec_Program::CreateIsolatedSubnetwork() |
no test coverage detected