Go to the documentation of this file.
4 #define MTR_ENABLED true
49 const char* name = node.
name().c_str();
NodeType
Enumerates the possible types of nodes.
constexpr lexy::code_point::general_category_t category[]
void mtr_register_sigint_handler()
void enableTransitionToIdle(bool enable)
Abstract base class for Behavior Tree Nodes.
Struct used to store a tree. If this object goes out of scope, the tree is destroyed.
MinitraceLogger(const BT::Tree &tree, const char *filename_json)
virtual void flush() override
std::chrono::high_resolution_clock::duration Duration
#define MTR_INSTANT(c, n)
virtual NodeType type() const =0
void mtr_init(const char *json_file)
const std::string & name() const
Name of the instance, not the type.
bool isStatusCompleted(const NodeStatus &status)
virtual ~MinitraceLogger() override
virtual void callback(Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status) override
const char * toConstStr(NodeType type)