MCPcopy Create free account
hub / github.com/MrKepzie/Natron / findTask

Method findTask

Gui/ProgressPanel.cpp:111–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 ProgressTaskInfoPtr findTask(const NodePtr& node) const
112 {
113 assert( !tasksMutex.tryLock() );
114
115 for (TasksMap::const_iterator it = tasks.begin(); it != tasks.end(); ++it) {
116 if (it->first.lock() == node) {
117 return it->second;
118 }
119 }
120
121 return ProgressTaskInfoPtr();
122 }
123
124 ProgressTaskInfoPtr findTask(const TableItem* item) const
125 {

Callers 5

onTaskRestartedMethod · 0.80
startTaskMethod · 0.80
updateTaskMethod · 0.80
onItemRightClickedMethod · 0.80

Calls 6

getTableItemsMethod · 0.80
tryLockMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
lockMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected