Public Member Functions | Private Attributes
BT::StatusChangeLogger Class Reference

#include <abstract_logger.h>

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

List of all members.

Public Member Functions

virtual void callback (BT::Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status)=0
bool enabled () const
void enableTransitionToIdle (bool enable)
virtual void flush ()=0
void setEnabled (bool enabled)
void seTimestampType (TimestampType type)
bool showsTransitionToIdle () const
 StatusChangeLogger (TreeNode *root_node)
virtual ~StatusChangeLogger ()

Private Attributes

bool enabled_
BT::TimePoint first_timestamp_
bool show_transition_to_idle_
std::vector
< TreeNode::StatusChangeSubscriber > 
subscribers_
TimestampType type_

Detailed Description

Definition at line 17 of file abstract_logger.h.


Constructor & Destructor Documentation

Definition at line 64 of file abstract_logger.h.


Member Function Documentation

virtual void BT::StatusChangeLogger::callback ( BT::Duration  timestamp,
const TreeNode node,
NodeStatus  prev_status,
NodeStatus  status 
) [pure virtual]
bool BT::StatusChangeLogger::enabled ( ) const [inline]

Definition at line 38 of file abstract_logger.h.

void BT::StatusChangeLogger::enableTransitionToIdle ( bool  enable) [inline]

Definition at line 49 of file abstract_logger.h.

virtual void BT::StatusChangeLogger::flush ( ) [pure virtual]
void BT::StatusChangeLogger::setEnabled ( bool  enabled) [inline]

Definition at line 28 of file abstract_logger.h.

Definition at line 33 of file abstract_logger.h.

Definition at line 44 of file abstract_logger.h.


Member Data Documentation

Definition at line 55 of file abstract_logger.h.

Definition at line 59 of file abstract_logger.h.

Definition at line 56 of file abstract_logger.h.

std::vector<TreeNode::StatusChangeSubscriber> BT::StatusChangeLogger::subscribers_ [private]

Definition at line 57 of file abstract_logger.h.

Definition at line 58 of file abstract_logger.h.


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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 03:50:10