Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10f1c39 commit 23e1912Copy full SHA for 23e1912
include/behaviortree_cpp_v3/action_node.h
@@ -174,8 +174,8 @@ class StatefulActionNode : public ActionNodeBase
174
/// method invoked by a RUNNING action.
175
virtual NodeStatus onRunning() = 0;
176
177
- /// when the method halt() is called by a parent node, this method
178
- /// is invoked to do the cleanup of a RUNNING action.
+ /// when the method halt() is called and the action is RUNNING, this method is invoked.
+ /// This is a convenient place todo a cleanup, if needed.
179
virtual void onHalted() = 0;
180
};
181
0 commit comments