diff --git a/core/include/moveit/task_constructor/container.h b/core/include/moveit/task_constructor/container.h index 27089356..fab732a7 100644 --- a/core/include/moveit/task_constructor/container.h +++ b/core/include/moveit/task_constructor/container.h @@ -55,7 +55,8 @@ public: Stage* findChild(const std::string& name) const; /** Callback function type used by traverse functions - * The callback should return false if traversal should be stopped. */ + * Receives currently visited Stage and current depth in hierarchy + * If callback returns false, traversal is stopped. */ using StageCallback = std::function; /// traverse direct children of this container, calling the callback for each of them bool traverseChildren(const StageCallback& processor) const;