#include <BT.h>
Public Types | |
enum | BTNodeTYPE { BT_SEQ, BT_SEL, BT_PAR, BT_TASK, BT_PAR_SEQ, BT_PAR_SEL } |
Public Member Functions | |
void | _us_terminate () |
BTNode (BTNodeContructorParams_DEF) | |
bool | isTerminated () |
void | join () |
virtual TaskResult | run () |
void | run_all () |
void | run_task (BTNode *t) |
void | run_thread (BTNode *BTNode) |
void | terminate () |
virtual | ~BTNode () |
Public Attributes | |
TaskResult | bt_node_return_value |
CallContext | call_ctx |
EventQueue | events |
bool | finished |
boost::mutex | m |
string | node_name |
boost::condition_variable | on_child_terminated |
std::vector< BTNode * > | tasks |
bool | terminated |
boost::thread_group | threads |
BTNodeTYPE | type |
virtual decision_making::BTNode::~BTNode | ( | ) | [inline, virtual] |
void decision_making::BTNode::_us_terminate | ( | ) | [inline] |
bool decision_making::BTNode::isTerminated | ( | ) | [inline] |
void decision_making::BTNode::join | ( | ) | [inline] |
virtual TaskResult decision_making::BTNode::run | ( | ) | [inline, virtual] |
void decision_making::BTNode::run_all | ( | ) | [inline] |
void decision_making::BTNode::run_task | ( | BTNode * | t | ) | [inline] |
void decision_making::BTNode::run_thread | ( | BTNode * | BTNode | ) | [inline] |
void decision_making::BTNode::terminate | ( | ) | [inline] |
boost::mutex decision_making::BTNode::m |
boost::condition_variable decision_making::BTNode::on_child_terminated |
std::vector< BTNode* > decision_making::BTNode::tasks |
boost::thread_group decision_making::BTNode::threads |