* Close owned input cubes from the list and clear the list */
| 621 | * Close owned input cubes from the list and clear the list |
| 622 | */ |
| 623 | void Process::ClearInputCubes() { |
| 624 | // Close the cubes |
| 625 | for (unsigned int i = 0; i < InputCubes.size(); i++) { |
| 626 | if (m_ownedCubes->contains(InputCubes[i])) { |
| 627 | InputCubes[i]->close(); |
| 628 | delete InputCubes[i]; |
| 629 | } |
| 630 | } |
| 631 | InputCubes.clear(); |
| 632 | } |
| 633 | |
| 634 | |
| 635 | /** |