7 #include "imstkTaskGraphController.h" 8 #include "imstkTaskGraph.h" 9 #include "imstkLogger.h" 18 if (!m_graph->isReachable(m_graph->getSource(), m_graph->getSink()))
20 LOG(WARNING) <<
"TaskGraph Sink not reachable from source. Graph initialization failed.";
26 LOG(WARNING) <<
"TaskGraph is cyclic. Graph initialization failed.";
static bool isCyclic(std::shared_ptr< TaskGraph > graph)
Returns if Graph is cyclic or not.
bool initialize()
Initialization of the TaskGraphController, good for anything the controller may need to do after it r...
virtual void init()
Subclass initialization call.