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

Method findTask

Gui/ProgressPanel.cpp:116–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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