| 599 | } |
| 600 | |
| 601 | bool TOPPASVertex::allInputsReady() const |
| 602 | { |
| 603 | __DEBUG_BEGIN_METHOD__ |
| 604 | |
| 605 | for (ConstEdgeIterator it = inEdgesBegin(); it != inEdgesEnd(); ++it) |
| 606 | { |
| 607 | TOPPASVertex* tv = qobject_cast<TOPPASVertex*>((*it)->getSourceVertex()); |
| 608 | if (tv && !tv->isFinished()) |
| 609 | { |
| 610 | // some (reachable) tool that we depend on has not finished execution yet --> do not start yet |
| 611 | __DEBUG_END_METHOD__ |
| 612 | return false; |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | __DEBUG_END_METHOD__ |
| 617 | return true; |
| 618 | } |
| 619 | |
| 620 | void TOPPASVertex::markUnreachable() |
| 621 | { |
nothing calls this directly
no test coverage detected