iMSTK
Interactive Medical Simulation Toolkit
|
This class executes a TaskGraph by first topologically sorting them (Kahn's algorithm) then sequentially running them. More...
#include <imstkSequentialTaskGraphController.h>
Public Member Functions | |
void | init () override |
Sorts the computational nodes. | |
void | execute () override |
Executes the TaskGraph. | |
![]() | |
virtual void | setTaskGraph (std::shared_ptr< TaskGraph > graph) |
std::shared_ptr< TaskGraph > | getTaskGraph () const |
bool | initialize () |
Initialization of the TaskGraphController, good for anything the controller may need to do after it recieves input, before execution, but not do everytime execution is called. Returns if successful. | |
Additional Inherited Members | |
![]() | |
std::shared_ptr< TaskGraph > | m_graph = nullptr |
This class executes a TaskGraph by first topologically sorting them (Kahn's algorithm) then sequentially running them.
Definition at line 22 of file imstkSequentialTaskGraphController.h.