AddStdCoutLoggerToTree. Give the root node of a tree, a simple callback is subscribed to any status change of each node. More...
#include <bt_cout_logger.h>

Public Member Functions | |
| virtual void | callback (Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status) override |
| virtual void | flush () override |
| StdCoutLogger (TreeNode *root_node) | |
| ~StdCoutLogger () | |
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 |
Static Private Attributes | |
| static std::atomic< bool > | ref_count |
AddStdCoutLoggerToTree. Give the root node of a tree, a simple callback is subscribed to any status change of each node.
| root_node |
Definition at line 19 of file bt_cout_logger.h.
| BT::StdCoutLogger::StdCoutLogger | ( | TreeNode * | root_node | ) |
Definition at line 7 of file bt_cout_logger.cpp.
| BT::StdCoutLogger::~StdCoutLogger | ( | ) |
Definition at line 15 of file bt_cout_logger.cpp.
|
overridevirtual |
Implements BT::StatusChangeLogger.
Definition at line 20 of file bt_cout_logger.cpp.
|
overridevirtual |
Implements BT::StatusChangeLogger.
Definition at line 35 of file bt_cout_logger.cpp.
|
staticprivate |
Definition at line 21 of file bt_cout_logger.h.