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

Method RepeatNode

src/decorators/repeat_node.cpp:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17{
18
19RepeatNode::RepeatNode(const std::string& name, int NTries)
20 : DecoratorNode(name, {})
21 , num_cycles_(NTries)
22 , repeat_count_(0)
23 , read_parameter_from_ports_(false)
24{
25 setRegistrationID("Repeat");
26}
27
28RepeatNode::RepeatNode(const std::string& name, const NodeConfig& config)
29 : DecoratorNode(name, config)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected