Go to the documentation of this file.
40 return { InputPort<int>(
"max_failures", 1,
41 "If the number of children returning FAILURE exceeds this "
43 "ParallelAll returns FAILURE") };
48 virtual void halt()
override;
size_t failure_threshold_
std::set< size_t > completed_list_
const NodeConfig & config() const
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
void setFailureThreshold(int threshold)
std::unordered_map< std::string, PortInfo > PortsList
~ParallelAllNode() override=default
static PortsList providedPorts()
ParallelAllNode(const std::string &name, const NodeConfig &config)
const std::string & name() const
Name of the instance, not the type.
virtual void halt() override
The ParallelAllNode execute all its children concurrently, but not in separate threads!
size_t failureThreshold() const