| 
    Qualia
    0.2
    
   | 
 
Abstract base class for Behavior Tree nodes with children. More...
#include <BehaviorTreeBase.h>


Public Member Functions | |
| BehaviorTreeInternalNode () | |
| virtual | ~BehaviorTreeInternalNode () | 
| virtual BEHAVIOR_STATUS | execute (void *agent)=0 | 
| This method is invoked by the node's parent when the node should be run.  More... | |
| virtual void | init (void *object)=0 | 
| This method will be invoked before the node is executed for the first time.  More... | |
| 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 | |
| BehaviorTreeNode ** | children | 
| This node's children nodes.  More... | |
| uint8_t | nChildren | 
| The number of children of this node.  More... | |
Abstract base class for Behavior Tree nodes with children.
| BehaviorTree::BehaviorTreeInternalNode::BehaviorTreeInternalNode | ( | ) | 
      
  | 
  virtual | 
      
  | 
  virtual | 
Helper method for setChildren().
Adds a child to the node. Deprecated: use setChildren() method instead.
      
  | 
  pure virtual | 
This method is invoked by the node's parent when the node should be run.
Implements BehaviorTree::BehaviorTreeNode.
Implemented in BehaviorTree::ProbabilityNode, BehaviorTree::SequentialNode, BehaviorTree::PriorityNode, and BehaviorTree::ParallelNode.
      
  | 
  pure virtual | 
This method will be invoked before the node is executed for the first time.
Implements BehaviorTree::BehaviorTreeNode.
Implemented in BehaviorTree::ProbabilityNode, BehaviorTree::PriorityNode, BehaviorTree::SequentialNode, and BehaviorTree::ParallelNode.
      
  | 
  virtual | 
Sets the children nodes of this node. Adds children to node. The method will add all arguments (read as BehaviorTreeNode*) until NULL is reached.
Example use:
Reimplemented in BehaviorTree::ProbabilityNode.
| BehaviorTreeNode** BehaviorTree::BehaviorTreeInternalNode::children | 
This node's children nodes.
| uint8_t BehaviorTree::BehaviorTreeInternalNode::nChildren | 
The number of children of this node.
 1.8.3.1