subtree_node.h
Go to the documentation of this file.
1 #ifndef DECORATOR_SUBTREE_NODE_H
2 #define DECORATOR_SUBTREE_NODE_H
3 
5 
6 namespace BT
7 {
9 {
10  public:
11  DecoratorSubtreeNode(const std::string& name);
12 
13  virtual ~DecoratorSubtreeNode() override = default;
14 
15  private:
16  virtual BT::NodeStatus tick() override;
17 
18  virtual NodeType type() const override final
19  {
20  return NodeType::SUBTREE;
21  }
22 
23 };
24 
25 
26 }
27 
28 #endif // DECORATOR_SUBTREE_NODE_H
const std::string & name() const
Definition: tree_node.cpp:92
virtual NodeType type() const overridefinal
Definition: subtree_node.h:18
NodeStatus
Definition: basic_types.h:28
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
NodeType
Definition: basic_types.h:16
DecoratorSubtreeNode(const std::string &name)
Definition: subtree_node.cpp:4
virtual ~DecoratorSubtreeNode() override=default


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 04:01:53