MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / allInputsReady

Method allInputsReady

src/openms_gui/source/VISUAL/TOPPASVertex.cpp:601–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

getSourceVertexMethod · 0.80
isFinishedMethod · 0.80

Tested by

no test coverage detected