#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 |
Public Member Functions inherited from BT::StatusChangeLogger | |
bool | enabled () const |
void | enableTransitionToIdle (bool enable) |
void | setEnabled (bool enabled) |
void | seTimestampType (TimestampType type) |
bool | showsTransitionToIdle () const |
StatusChangeLogger (TreeNode *root_node) | |
virtual | ~StatusChangeLogger ()=default |
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.
|
overridevirtual |
Definition at line 23 of file bt_minitrace_logger.cpp.
|
overridevirtual |
Implements BT::StatusChangeLogger.
Definition at line 30 of file bt_minitrace_logger.cpp.
|
overridevirtual |
Implements BT::StatusChangeLogger.
Definition at line 55 of file bt_minitrace_logger.cpp.
|
private |
Definition at line 24 of file bt_minitrace_logger.h.
|
staticprivate |
Definition at line 11 of file bt_minitrace_logger.h.