subtree_node.h
Go to the documentation of this file.
00001 #ifndef DECORATOR_SUBTREE_NODE_H
00002 #define DECORATOR_SUBTREE_NODE_H
00003 
00004 #include "behaviortree_cpp/decorator_node.h"
00005 
00006 namespace BT
00007 {
00008 
00009 class DecoratorSubtreeNode : public DecoratorNode
00010 {
00011   public:
00012     DecoratorSubtreeNode(const std::string& name);
00013 
00014     virtual ~DecoratorSubtreeNode() override = default;
00015 
00016   private:
00017     virtual BT::NodeStatus tick() override;
00018 
00019     virtual NodeType type() const override final
00020     {
00021         return NodeType::SUBTREE;
00022     }
00023 };
00024 
00025 
00026 }
00027 
00028 #endif   // DECORATOR_SUBTREE_NODE_H


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 20:17:15