/** Finds a child of this node with the given functor @param functor the functor we are interested in finding @return The task, if found. If not found, NULL. */ AREXPORT ArSyncTask *ArSyncTask::findNonRecursive(ArFunctor *functor) { ArSyncTask *proc; std::multimap<int, ArSyncTask *>::iterator it; for (it = myMultiMap.begin(); it != myMultiMap.end(); ++it) { proc = (*it).second; if (proc->getFunctor() == functor) return proc; } return NULL; }