MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / TickWhileRunning

Function TickWhileRunning

tests/gtest_switch.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 )";
30
31BT::NodeStatus TickWhileRunning(BT::TreeNode& node)
32{
33 auto status = node.executeTick();
34 while(status == BT::NodeStatus::RUNNING)
35 {
36 status = node.executeTick();
37 }
38 return status;
39}
40
41} // namespace
42

Callers

nothing calls this directly

Calls 1

executeTickMethod · 0.45

Tested by

no test coverage detected