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

Method SequenceNode

src/controls/sequence_node.cpp:18–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace BT
17{
18SequenceNode::SequenceNode(const std::string& name, bool make_async,
19 const NodeConfiguration& conf)
20 : ControlNode::ControlNode(name, conf), current_child_idx_(0), asynch_(make_async)
21{
22 if(asynch_)
23 {
24 setRegistrationID("AsyncSequence");
25 }
26 else
27 {
28 setRegistrationID("Sequence");
29 }
30}
31
32void SequenceNode::halt()
33{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected