#include <parallel_node.h>
Public Member Functions | |
int | DrawType () |
unsigned int | get_threshold_M () |
void | Halt () |
ParallelNode (std::string name, int threshold_M) | |
void | set_threshold_M (unsigned int threshold_M) |
BT::ReturnStatus | Tick () |
~ParallelNode () | |
Private Attributes | |
unsigned int | failure_childred_num_ |
unsigned int | success_childred_num_ |
unsigned int | threshold_M_ |
Definition at line 22 of file parallel_node.h.
BT::ParallelNode::ParallelNode | ( | std::string | name, |
int | threshold_M | ||
) | [explicit] |
Definition at line 18 of file parallel_node.cpp.
Definition at line 23 of file parallel_node.cpp.
int BT::ParallelNode::DrawType | ( | ) | [virtual] |
Implements BT::TreeNode.
Definition at line 107 of file parallel_node.cpp.
unsigned int BT::ParallelNode::get_threshold_M | ( | ) |
Definition at line 113 of file parallel_node.cpp.
void BT::ParallelNode::Halt | ( | ) | [virtual] |
Reimplemented from BT::ControlNode.
Definition at line 100 of file parallel_node.cpp.
void BT::ParallelNode::set_threshold_M | ( | unsigned int | threshold_M | ) |
Definition at line 118 of file parallel_node.cpp.
BT::ReturnStatus BT::ParallelNode::Tick | ( | ) | [virtual] |
Implements BT::TreeNode.
Definition at line 25 of file parallel_node.cpp.
unsigned int BT::ParallelNode::failure_childred_num_ [private] |
Definition at line 38 of file parallel_node.h.
unsigned int BT::ParallelNode::success_childred_num_ [private] |
Definition at line 37 of file parallel_node.h.
unsigned int BT::ParallelNode::threshold_M_ [private] |
Definition at line 36 of file parallel_node.h.