Public Member Functions | Private Attributes | List of all members
BT::StatusChangeLogger Class Referenceabstract

#include <abstract_logger.h>

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

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 ()=default
 

Private Attributes

bool enabled_
 
BT::TimePoint first_timestamp_
 
bool show_transition_to_idle_
 
std::vector< TreeNode::StatusChangeSubscribersubscribers_
 
TimestampType type_
 

Detailed Description

Definition at line 17 of file abstract_logger.h.

Constructor & Destructor Documentation

BT::StatusChangeLogger::StatusChangeLogger ( TreeNode root_node)
inline

Definition at line 64 of file abstract_logger.h.

virtual BT::StatusChangeLogger::~StatusChangeLogger ( )
virtualdefault

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.

void BT::StatusChangeLogger::seTimestampType ( TimestampType  type)
inline

Definition at line 33 of file abstract_logger.h.

bool BT::StatusChangeLogger::showsTransitionToIdle ( ) const
inline

Definition at line 44 of file abstract_logger.h.

Member Data Documentation

bool BT::StatusChangeLogger::enabled_
private

Definition at line 55 of file abstract_logger.h.

BT::TimePoint BT::StatusChangeLogger::first_timestamp_
private

Definition at line 59 of file abstract_logger.h.

bool BT::StatusChangeLogger::show_transition_to_idle_
private

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.

TimestampType BT::StatusChangeLogger::type_
private

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 04:01:55