bt_cout_logger.h
Go to the documentation of this file.
1 #ifndef BT_COUT_LOGGER_H
2 #define BT_COUT_LOGGER_H
3 
4 #include <cstring>
6 
7 namespace BT
8 {
15 {
16 public:
17  StdCoutLogger(const BT::Tree& tree);
18  ~StdCoutLogger() override;
19 
20  virtual void flush() override;
21 
22 private:
23  virtual void callback(Duration timestamp, const TreeNode& node, NodeStatus prev_status,
24  NodeStatus status) override;
25 };
26 
27 } // namespace BT
28 
29 #endif // BT_COUT_LOGGER_H
BT
Definition: ex01_wrap_legacy.cpp:29
BT::StdCoutLogger::~StdCoutLogger
~StdCoutLogger() override
Definition: bt_cout_logger.cpp:8
BT::StdCoutLogger::flush
virtual void flush() override
Definition: bt_cout_logger.cpp:26
BT::TreeNode
Abstract base class for Behavior Tree Nodes.
Definition: tree_node.h:118
BT::Tree
Struct used to store a tree. If this object goes out of scope, the tree is destroyed.
Definition: bt_factory.h:91
BT::StdCoutLogger::callback
virtual void callback(Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status) override
Definition: bt_cout_logger.cpp:11
BT::StatusChangeLogger
Definition: abstract_logger.h:15
BT::Duration
std::chrono::high_resolution_clock::duration Duration
Definition: basic_types.h:628
BT::StdCoutLogger::StdCoutLogger
StdCoutLogger(const BT::Tree &tree)
Definition: bt_cout_logger.cpp:6
BT::NodeStatus
NodeStatus
Definition: basic_types.h:33
abstract_logger.h
BT::StdCoutLogger
StdCoutLogger is a very simple logger that displays all the transitions on the console.
Definition: bt_cout_logger.h:14


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:16