condition_test_node.h
Go to the documentation of this file.
00001 #ifndef CONDITIONTEST_H
00002 #define CONDITIONTEST_H
00003 
00004 #include "behaviortree_cpp/condition_node.h"
00005 
00006 namespace BT
00007 {
00008 class ConditionTestNode : public ConditionNode
00009 {
00010   public:
00011     // Constructor
00012     ConditionTestNode(const std::string& name);
00013 
00014     void setBoolean(bool boolean_value);
00015 
00016     // The method that is going to be executed by the thread
00017     virtual BT::NodeStatus tick() override;
00018 
00019     int tickCount() const
00020     {
00021         return tick_count_;
00022     }
00023 
00024   private:
00025     bool boolean_value_;
00026     int tick_count_;
00027 };
00028 }
00029 
00030 #endif


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