Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BehaviorTree/BehaviorTree.CPP
/ sleep
Method
sleep
src/bt_factory.cpp:656–660 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
654
}
655
656
bool Tree::sleep(std::chrono::system_clock::duration timeout)
657
{
658
return wake_up_->waitFor(
659
std::chrono::duration_cast<std::chrono::milliseconds>(timeout));
660
}
661
662
void Tree::emitWakeUpSignal()
663
{
Callers
3
TEST
Function · 0.80
TEST
Function · 0.80
main
Function · 0.80
Calls
1
waitFor
Method · 0.80
Tested by
2
TEST
Function · 0.64
TEST
Function · 0.64