bt_minitrace_logger.h
Go to the documentation of this file.
1 #ifndef BT_MINITRACE_LOGGER_H
2 #define BT_MINITRACE_LOGGER_H
3 
4 #include <cstring>
5 #include "abstract_logger.h"
6 
7 namespace BT
8 {
10 {
11  static std::atomic<bool> ref_count;
12 
13  public:
14  MinitraceLogger(TreeNode* root_node, const char* filename_json);
15 
16  virtual ~MinitraceLogger() override;
17 
18  virtual void callback(Duration timestamp, const TreeNode& node, NodeStatus prev_status,
19  NodeStatus status) override;
20 
21  virtual void flush() override;
22 
23  private:
25 };
26 
27 } // end namespace
28 
29 #endif // BT_MINITRACE_LOGGER_H
std::chrono::high_resolution_clock::time_point TimePoint
Definition: tree_node.h:35
virtual ~MinitraceLogger() override
virtual void callback(Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status) override
static std::atomic< bool > ref_count
MinitraceLogger(TreeNode *root_node, const char *filename_json)
virtual void flush() override
NodeStatus
Definition: basic_types.h:28
std::chrono::high_resolution_clock::duration Duration
Definition: tree_node.h:36


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 04:01:53