condition_test_node.h
Go to the documentation of this file.
1 #ifndef CONDITIONTEST_H
2 #define CONDITIONTEST_H
3 
5 
6 namespace BT
7 {
9 {
10 public:
11  ConditionTestNode(const std::string& name);
12 
13  void setExpectedResult(NodeStatus res);
14 
15  // The method that is going to be executed by the thread
16  virtual BT::NodeStatus tick() override;
17 
18  int tickCount() const
19  {
20  return tick_count_;
21  }
22 
23 private:
26 };
27 } // namespace BT
28 
29 #endif
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
ConditionTestNode(const std::string &name)
void setExpectedResult(NodeStatus res)
const std::string & name() const
Name of the instance, not the type.
Definition: tree_node.cpp:101
NodeStatus
Definition: basic_types.h:35


behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Mon Jul 3 2023 02:50:14