| 
    Qualia
    0.2
    
   | 
 
Executes behaviors in priority order until one of them is successful. More...
#include <PriorityNode.h>


Public Member Functions | |
| BEHAVIOR_STATUS | execute (void *agent) | 
| This method is invoked by the node's parent when the node should be run.  More... | |
| PriorityNode (TRAVERSAL_POLICY traversalPolicy=RESTART) | |
| void | init (void *agent) | 
| This method will be invoked before the node is executed for the first time.  More... | |
  Public Member Functions inherited from BehaviorTree::BehaviorTreeInternalNode | |
| BehaviorTreeInternalNode () | |
| virtual | ~BehaviorTreeInternalNode () | 
| virtual BehaviorTreeNode * | setChildren (BehaviorTreeNode *node,...) | 
| virtual BehaviorTreeNode * | _setChildren (BehaviorTreeNode *node, va_list nodeList) | 
| Helper method for setChildren().  More... | |
  Public Member Functions inherited from BehaviorTree::BehaviorTreeNode | |
| virtual | ~BehaviorTreeNode () | 
Public Attributes | |
| int | currentPosition | 
| TRAVERSAL_POLICY | traversalPolicy | 
  Public Attributes inherited from BehaviorTree::BehaviorTreeInternalNode | |
| BehaviorTreeNode ** | children | 
| This node's children nodes.  More... | |
| uint8_t | nChildren | 
| The number of children of this node.  More... | |
Executes behaviors in priority order until one of them is successful.
Attempts to execute children in the order they were added.
| PriorityNode::PriorityNode | ( | TRAVERSAL_POLICY | traversalPolicy = RESTART | ) | 
      
  | 
  virtual | 
This method is invoked by the node's parent when the node should be run.
Implements BehaviorTree::BehaviorTreeInternalNode.
      
  | 
  virtual | 
This method will be invoked before the node is executed for the first time.
Implements BehaviorTree::BehaviorTreeInternalNode.
| int BehaviorTree::PriorityNode::currentPosition | 
| TRAVERSAL_POLICY BehaviorTree::PriorityNode::traversalPolicy | 
 1.8.3.1