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 57c7bfe commit 7410ba2Copy full SHA for 7410ba2
include/behaviortree_cpp/bt_factory.h
@@ -118,9 +118,13 @@ class Tree
118
119
[[nodiscard]] TreeNode* rootNode() const;
120
121
- /// Sleep for a certain amount of time.
122
- /// This sleep could be interrupted by the method
123
- /// TreeNode::emitWakeUpSignal()
+ /**
+ * @brief Sleep for a certain amount of time. This sleep could be interrupted by the method TreeNode::emitWakeUpSignal()
+ *
124
+ * @param timeout duration of the sleep
125
+ * @return true if the timeout was NOT reached and the signal was received.
126
127
+ * */
128
bool sleep(std::chrono::system_clock::duration timeout);
129
130
~Tree();
0 commit comments