Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BehaviorTree/BehaviorTree.CPP
/ addChild
Method
addChild
src/control_node.cpp:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
{}
21
22
void ControlNode::addChild(TreeNode* child)
23
{
24
children_nodes_.push_back(child);
25
}
26
27
size_t ControlNode::childrenCount() const
28
{
Callers
15
createNodeFromXML
Method · 0.80
SwitchTest
Method · 0.80
SimpleFallbackTest
Method · 0.80
ReactiveFallbackTest
Method · 0.80
SimpleFallbackWithMemoryTest
Method · 0.80
ComplexFallbackWithMemoryTest
Method · 0.80
SimpleParallelTest
Method · 0.80
ComplexParallelTest
Method · 0.80
SimpleSequenceTest
Method · 0.80
ComplexSequenceTest
Method · 0.80
SequenceTripleActionTest
Method · 0.80
ComplexSequence2ActionsTest
Method · 0.80
Calls
1
push_back
Method · 0.80
Tested by
15
SwitchTest
Method · 0.64
SimpleFallbackTest
Method · 0.64
ReactiveFallbackTest
Method · 0.64
SimpleFallbackWithMemoryTest
Method · 0.64
ComplexFallbackWithMemoryTest
Method · 0.64
SimpleParallelTest
Method · 0.64
ComplexParallelTest
Method · 0.64
SimpleSequenceTest
Method · 0.64
ComplexSequenceTest
Method · 0.64
SequenceTripleActionTest
Method · 0.64
ComplexSequence2ActionsTest
Method · 0.64
SimpleSequenceWithMemoryTest
Method · 0.64