#include <tree_node.h>
Public Member Functions | |
virtual int | Depth ()=0 |
virtual int | DrawType ()=0 |
ReturnStatus | get_color_status () |
std::string | get_name () |
ReturnStatus | get_status () |
NodeType | get_type () |
float | get_x_pose () |
float | get_x_shift () |
virtual void | Halt ()=0 |
bool | has_parent () |
ReturnStatus | ReadState () |
virtual void | ResetColorState ()=0 |
void | set_color_status (ReturnStatus new_color_status) |
void | set_has_parent (bool value) |
void | set_name (std::string new_name) |
void | set_status (ReturnStatus new_status) |
void | set_x_pose (float x_pose) |
void | set_x_shift (float x_shift) |
void | SetNodeState (ReturnStatus new_state) |
virtual BT::ReturnStatus | Tick ()=0 |
TreeNode (std::string name) | |
~TreeNode () | |
Public Attributes | |
std::thread | thread_ |
TickEngine | tick_engine |
Protected Attributes | |
std::mutex | color_state_mutex_ |
ReturnStatus | color_status_ |
bool | is_state_updated_ |
std::condition_variable | state_condition_variable_ |
std::mutex | state_mutex_ |
ReturnStatus | status_ |
NodeType | type_ |
float | x_pose_ |
float | x_shift_ |
Private Attributes | |
bool | has_parent_ |
std::string | name_ |
Definition at line 103 of file tree_node.h.
BT::TreeNode::TreeNode | ( | std::string | name | ) | [explicit] |
Definition at line 17 of file tree_node.cpp.
Definition at line 26 of file tree_node.cpp.
virtual int BT::TreeNode::Depth | ( | ) | [pure virtual] |
Implemented in BT::ControlNode, and BT::LeafNode.
virtual int BT::TreeNode::DrawType | ( | ) | [pure virtual] |
Definition at line 52 of file tree_node.cpp.
std::string BT::TreeNode::get_name | ( | ) |
Definition at line 94 of file tree_node.cpp.
Definition at line 42 of file tree_node.cpp.
Definition at line 100 of file tree_node.cpp.
float BT::TreeNode::get_x_pose | ( | ) |
Definition at line 68 of file tree_node.cpp.
float BT::TreeNode::get_x_shift | ( | ) |
Definition at line 79 of file tree_node.cpp.
virtual void BT::TreeNode::Halt | ( | ) | [pure virtual] |
bool BT::TreeNode::has_parent | ( | ) |
Definition at line 105 of file tree_node.cpp.
virtual void BT::TreeNode::ResetColorState | ( | ) | [pure virtual] |
Implemented in BT::ControlNode, and BT::LeafNode.
void BT::TreeNode::set_color_status | ( | ReturnStatus | new_color_status | ) |
Definition at line 60 of file tree_node.cpp.
void BT::TreeNode::set_has_parent | ( | bool | value | ) |
Definition at line 110 of file tree_node.cpp.
void BT::TreeNode::set_name | ( | std::string | new_name | ) |
Definition at line 89 of file tree_node.cpp.
void BT::TreeNode::set_status | ( | ReturnStatus | new_status | ) |
Definition at line 28 of file tree_node.cpp.
void BT::TreeNode::set_x_pose | ( | float | x_pose | ) |
Definition at line 73 of file tree_node.cpp.
void BT::TreeNode::set_x_shift | ( | float | x_shift | ) |
Definition at line 84 of file tree_node.cpp.
void BT::TreeNode::SetNodeState | ( | ReturnStatus | new_state | ) |
virtual BT::ReturnStatus BT::TreeNode::Tick | ( | ) | [pure virtual] |
std::mutex BT::TreeNode::color_state_mutex_ [protected] |
Definition at line 121 of file tree_node.h.
ReturnStatus BT::TreeNode::color_status_ [protected] |
Definition at line 117 of file tree_node.h.
bool BT::TreeNode::has_parent_ [private] |
Definition at line 108 of file tree_node.h.
bool BT::TreeNode::is_state_updated_ [protected] |
Definition at line 115 of file tree_node.h.
std::string BT::TreeNode::name_ [private] |
Definition at line 107 of file tree_node.h.
std::condition_variable BT::TreeNode::state_condition_variable_ [protected] |
Definition at line 122 of file tree_node.h.
std::mutex BT::TreeNode::state_mutex_ [protected] |
Definition at line 120 of file tree_node.h.
ReturnStatus BT::TreeNode::status_ [protected] |
Definition at line 116 of file tree_node.h.
std::thread BT::TreeNode::thread_ |
Definition at line 130 of file tree_node.h.
Definition at line 134 of file tree_node.h.
NodeType BT::TreeNode::type_ [protected] |
Definition at line 124 of file tree_node.h.
float BT::TreeNode::x_pose_ [protected] |
Definition at line 126 of file tree_node.h.
float BT::TreeNode::x_shift_ [protected] |
Definition at line 126 of file tree_node.h.