Main Page
Modules
Namespaces
Classes
Files
File List
File Members
include
behaviortree_cpp
decorators
subtree_node.h
Go to the documentation of this file.
1
#ifndef DECORATOR_SUBTREE_NODE_H
2
#define DECORATOR_SUBTREE_NODE_H
3
4
#include "
behaviortree_cpp/decorator_node.h
"
5
6
namespace
BT
7
{
8
class
DecoratorSubtreeNode
:
public
DecoratorNode
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
BT::TreeNode::name
const std::string & name() const
Definition:
tree_node.cpp:92
BT::DecoratorSubtreeNode::type
virtual NodeType type() const overridefinal
Definition:
subtree_node.h:18
BT::DecoratorSubtreeNode
Definition:
subtree_node.h:8
BT::NodeType::SUBTREE
BT
Definition:
t06_wrap_legacy.cpp:43
BT::DecoratorNode
Definition:
decorator_node.h:8
decorator_node.h
BT::NodeStatus
NodeStatus
Definition:
basic_types.h:28
BT::DecoratorSubtreeNode::tick
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
Definition:
subtree_node.cpp:10
BT::NodeType
NodeType
Definition:
basic_types.h:16
BT::DecoratorSubtreeNode::DecoratorSubtreeNode
DecoratorSubtreeNode(const std::string &name)
Definition:
subtree_node.cpp:4
BT::DecoratorSubtreeNode::~DecoratorSubtreeNode
virtual ~DecoratorSubtreeNode() override=default
behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sun Feb 3 2019 03:14:32