meshroom.core.taskManager.TaskManager

- class meshroom.core.taskManager.TaskManager(parent=None)
Manage graph - local and external - computation tasks.
- __init__(parent=None)
Methods
__init__([parent])blockRestart()Avoid the automatic restart of computing.
checkCompatibilityNodes(graph, nodes, context)checkDuplicates(nodesToProcess, context)checkNodesDependencies(graph, toNodes, context)Check dependencies of nodes to process.
clear()Remove all the nodes from the taskmanager :return:
compute([graph, toNodes, forceCompute, ...])Start graph computation, from root nodes to leaves - or nodes in 'toNodes' if specified.
contains(node)containsNodeName(name)Check if a node with the argument name belongs to the display list.
getAlreadySubmittedChunks(nodes)Check if nodes have already been submitted in another Meshroom instance.
onNodeDestroyed(obj, name)Remove node from the taskmanager when it's destroyed in the graph :param obj: :param name: :return:
parent()raiseDependenciesMessage(context)raiseImpossibleProcess(context)removeNode(node[, displayList, processList, ...])Remove node from the Task Manager.
requestBlockRestart()Block computing.
restart(**f_kwargs)submit(graph[, submitter, toNodes, submitLabel])Nodes are send to the renderfarm :param graph: :param submitter: :param toNodes: :return:
submitFromFile(graphFile, submitter[, ...])Submit the given graph via the given submitter.
update(graph)Add all the nodes that are being rendered in a renderfarm to the taskmanager when new graph is loaded :param graph: :return:
updateNodes()Update task manager nodes lists by checking the nodes status.
Attributes
nodesrestartRequestedThe class signal allows a signal to be set on a class rather than an instance.