bt_minitrace_logger.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace BT
6 {
8 {
9 public:
10  MinitraceLogger(const BT::Tree& tree, const char* filename_json);
11 
12  virtual ~MinitraceLogger() override;
13 
14  virtual void callback(Duration timestamp, const TreeNode& node, NodeStatus prev_status,
15  NodeStatus status) override;
16 
17  virtual void flush() override;
18 
19 private:
21 };
22 
23 } // namespace BT
BT
Definition: ex01_wrap_legacy.cpp:29
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::MinitraceLogger::prev_time_
TimePoint prev_time_
Definition: bt_minitrace_logger.h:20
BT::MinitraceLogger::MinitraceLogger
MinitraceLogger(const BT::Tree &tree, const char *filename_json)
Definition: bt_minitrace_logger.cpp:10
BT::MinitraceLogger::flush
virtual void flush() override
Definition: bt_minitrace_logger.cpp:66
BT::TimePoint
std::chrono::high_resolution_clock::time_point TimePoint
Definition: basic_types.h:627
BT::StatusChangeLogger
Definition: abstract_logger.h:15
BT::Duration
std::chrono::high_resolution_clock::duration Duration
Definition: basic_types.h:628
BT::MinitraceLogger
Definition: bt_minitrace_logger.h:7
BT::MinitraceLogger::~MinitraceLogger
virtual ~MinitraceLogger() override
Definition: bt_minitrace_logger.cpp:18
BT::MinitraceLogger::callback
virtual void callback(Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status) override
Definition: bt_minitrace_logger.cpp:43
BT::NodeStatus
NodeStatus
Definition: basic_types.h:33
abstract_logger.h


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