MCPcopy 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
656bool 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
662void Tree::emitWakeUpSignal()
663{

Callers 3

TESTFunction · 0.80
TESTFunction · 0.80
mainFunction · 0.80

Calls 1

waitForMethod · 0.80

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64