Public Member Functions | Private Attributes | List of all members
BT::MinitraceLogger Class Reference

#include <bt_minitrace_logger.h>

Inheritance diagram for BT::MinitraceLogger:
Inheritance graph
[legend]

Public Member Functions

virtual void callback (Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status) override
 
virtual void flush () override
 
 MinitraceLogger (const BT::Tree &tree, const char *filename_json)
 
virtual ~MinitraceLogger () override
 
- Public Member Functions inherited from BT::StatusChangeLogger
bool enabled () const
 
void enableTransitionToIdle (bool enable)
 
StatusChangeLoggeroperator= (const StatusChangeLogger &other)=delete
 
StatusChangeLoggeroperator= (StatusChangeLogger &&other)=default
 
void setEnabled (bool enabled)
 
void setTimestampType (TimestampType type)
 
bool showsTransitionToIdle () const
 
 StatusChangeLogger (const StatusChangeLogger &other)=delete
 
 StatusChangeLogger (StatusChangeLogger &&other)=default
 
 StatusChangeLogger (TreeNode *root_node)
 
virtual ~StatusChangeLogger ()=default
 

Private Attributes

TimePoint prev_time_
 

Detailed Description

Definition at line 7 of file bt_minitrace_logger.h.

Constructor & Destructor Documentation

◆ MinitraceLogger()

BT::MinitraceLogger::MinitraceLogger ( const BT::Tree tree,
const char *  filename_json 
)

Definition at line 10 of file bt_minitrace_logger.cpp.

◆ ~MinitraceLogger()

BT::MinitraceLogger::~MinitraceLogger ( )
overridevirtual

Definition at line 18 of file bt_minitrace_logger.cpp.

Member Function Documentation

◆ callback()

void BT::MinitraceLogger::callback ( Duration  timestamp,
const TreeNode node,
NodeStatus  prev_status,
NodeStatus  status 
)
overridevirtual

Implements BT::StatusChangeLogger.

Definition at line 43 of file bt_minitrace_logger.cpp.

◆ flush()

void BT::MinitraceLogger::flush ( )
overridevirtual

Implements BT::StatusChangeLogger.

Definition at line 66 of file bt_minitrace_logger.cpp.

Member Data Documentation

◆ prev_time_

TimePoint BT::MinitraceLogger::prev_time_
private

Definition at line 20 of file bt_minitrace_logger.h.


The documentation for this class was generated from the following files:


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18