#include <bt_minitrace_logger.h>
Public Member Functions | |
virtual void | callback (Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status) override |
virtual void | flush () override |
MinitraceLogger (TreeNode *root_node, const char *filename_json) | |
virtual | ~MinitraceLogger () override |
Private Attributes | |
TimePoint | prev_time_ |
Static Private Attributes | |
static std::atomic< bool > | ref_count |
Definition at line 9 of file bt_minitrace_logger.h.
BT::MinitraceLogger::MinitraceLogger | ( | TreeNode * | root_node, |
const char * | filename_json | ||
) |
Definition at line 9 of file bt_minitrace_logger.cpp.
BT::MinitraceLogger::~MinitraceLogger | ( | ) | [override, virtual] |
Definition at line 23 of file bt_minitrace_logger.cpp.
void BT::MinitraceLogger::callback | ( | Duration | timestamp, |
const TreeNode & | node, | ||
NodeStatus | prev_status, | ||
NodeStatus | status | ||
) | [override, virtual] |
Implements BT::StatusChangeLogger.
Definition at line 30 of file bt_minitrace_logger.cpp.
void BT::MinitraceLogger::flush | ( | ) | [override, virtual] |
Implements BT::StatusChangeLogger.
Definition at line 55 of file bt_minitrace_logger.cpp.
TimePoint BT::MinitraceLogger::prev_time_ [private] |
Definition at line 24 of file bt_minitrace_logger.h.
std::atomic< bool > BT::MinitraceLogger::ref_count [static, private] |
Definition at line 11 of file bt_minitrace_logger.h.