Public Member Functions | Private Attributes | Static 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)
 
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
 

Detailed Description

Definition at line 9 of file bt_minitrace_logger.h.

Constructor & Destructor Documentation

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

Definition at line 9 of file bt_minitrace_logger.cpp.

BT::MinitraceLogger::~MinitraceLogger ( )
overridevirtual

Definition at line 23 of file bt_minitrace_logger.cpp.

Member Function Documentation

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

Implements BT::StatusChangeLogger.

Definition at line 30 of file bt_minitrace_logger.cpp.

void BT::MinitraceLogger::flush ( )
overridevirtual

Implements BT::StatusChangeLogger.

Definition at line 55 of file bt_minitrace_logger.cpp.

Member Data Documentation

TimePoint BT::MinitraceLogger::prev_time_
private

Definition at line 24 of file bt_minitrace_logger.h.

std::atomic< bool > BT::MinitraceLogger::ref_count
staticprivate

Definition at line 11 of file bt_minitrace_logger.h.


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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 18:04:06