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 
12  ConditionTestNode(const std::string& name);
13 
14  void setExpectedResult(NodeStatus res);
15 
16  // The method that is going to be executed by the thread
17  virtual BT::NodeStatus tick() override;
18 
19  int tickCount() const
20  {
21  return tick_count_;
22  }
23 
24  private:
27 };
28 }
29 
30 #endif
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
const std::string & name() const
Name of the instance, not the type.
Definition: tree_node.cpp:73
ConditionTestNode(const std::string &name)
void setExpectedResult(NodeStatus res)
NodeStatus
Definition: basic_types.h:35


behaviotree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Tue May 4 2021 02:56:24