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 class DecoratorSubtreeNode : public DecoratorNode
00009 {
00010   public:
00011     DecoratorSubtreeNode(const std::string& name);
00012 
00013     virtual ~DecoratorSubtreeNode() override = default;
00014 
00015   private:
00016     virtual BT::NodeStatus tick() override;
00017 
00018     virtual NodeType type() const override final
00019     {
00020         return NodeType::SUBTREE;
00021     }
00022 
00023 };
00024 
00025 
00026 }
00027 
00028 #endif   // DECORATOR_SUBTREE_NODE_H


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 03:50:10