Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
BT::ParallelNode Class Reference

#include <parallel_node.h>

Inheritance diagram for BT::ParallelNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void halt () override
 ParallelNode (const std::string &name, unsigned threshold)
 ParallelNode (const std::string &name, const NodeConfiguration &config)
void setThresholdM (unsigned int threshold_M)
unsigned int thresholdM ()
 ~ParallelNode ()

Static Public Member Functions

static PortsList providedPorts ()

Private Member Functions

virtual BT::NodeStatus tick () override
 Method to be implemented by the user.

Private Attributes

bool read_parameter_from_ports_
std::set< int > skip_list_
unsigned int threshold_

Static Private Attributes

static constexpr const char * THRESHOLD_KEY = "threshold"

Detailed Description

Definition at line 23 of file parallel_node.h.


Constructor & Destructor Documentation

BT::ParallelNode::ParallelNode ( const std::string &  name,
unsigned  threshold 
)

Definition at line 21 of file parallel_node.cpp.

BT::ParallelNode::ParallelNode ( const std::string &  name,
const NodeConfiguration config 
)

Definition at line 29 of file parallel_node.cpp.


Member Function Documentation

void BT::ParallelNode::halt ( ) [override, virtual]

The method used to interrupt the execution of a RUNNING node. Only Async nodes that may return RUNNING should implement it.

Reimplemented from BT::ControlNode.

Definition at line 122 of file parallel_node.cpp.

static PortsList BT::ParallelNode::providedPorts ( ) [inline, static]

Definition at line 31 of file parallel_node.h.

void BT::ParallelNode::setThresholdM ( unsigned int  threshold_M)

Definition at line 133 of file parallel_node.cpp.

unsigned int BT::ParallelNode::thresholdM ( )

Definition at line 128 of file parallel_node.cpp.

NodeStatus BT::ParallelNode::tick ( ) [override, private, virtual]

Method to be implemented by the user.

Implements BT::TreeNode.

Definition at line 37 of file parallel_node.cpp.


Member Data Documentation

Definition at line 48 of file parallel_node.h.

std::set<int> BT::ParallelNode::skip_list_ [private]

Definition at line 46 of file parallel_node.h.

unsigned int BT::ParallelNode::threshold_ [private]

Definition at line 44 of file parallel_node.h.

constexpr const char * BT::ParallelNode::THRESHOLD_KEY = "threshold" [static, private]

Definition at line 49 of file parallel_node.h.


The documentation for this class was generated from the following files:


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 20:17:15