scenario_simulator_v2 C++ API
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
behavior_tree_plugin::TransitionEvent Class Referenceabstract

#include <transition_event.hpp>

Inheritance diagram for behavior_tree_plugin::TransitionEvent:
Inheritance graph
[legend]

Public Member Functions

 TransitionEvent (BT::TreeNode *root_node)
 

Protected Member Functions

virtual void callback (BT::Duration timestamp, const BT::TreeNode &node, BT::NodeStatus prev_status, BT::NodeStatus status)=0
 
void updateCurrentAction (const BT::NodeStatus &status, const BT::TreeNode &node)
 

Protected Attributes

BT::TimePoint first_timestamp_
 
std::vector< BT::TreeNode::StatusChangeSubscriber > subscribers_
 
BT::TimestampType type_
 
std::string current_action_
 

Constructor & Destructor Documentation

◆ TransitionEvent()

behavior_tree_plugin::TransitionEvent::TransitionEvent ( BT::TreeNode *  root_node)

Member Function Documentation

◆ callback()

virtual void behavior_tree_plugin::TransitionEvent::callback ( BT::Duration  timestamp,
const BT::TreeNode &  node,
BT::NodeStatus  prev_status,
BT::NodeStatus  status 
)
protectedpure virtual

◆ updateCurrentAction()

void behavior_tree_plugin::TransitionEvent::updateCurrentAction ( const BT::NodeStatus &  status,
const BT::TreeNode &  node 
)
protected

Member Data Documentation

◆ current_action_

std::string behavior_tree_plugin::TransitionEvent::current_action_
protected

◆ first_timestamp_

BT::TimePoint behavior_tree_plugin::TransitionEvent::first_timestamp_
protected

◆ subscribers_

std::vector<BT::TreeNode::StatusChangeSubscriber> behavior_tree_plugin::TransitionEvent::subscribers_
protected

◆ type_

BT::TimestampType behavior_tree_plugin::TransitionEvent::type_
protected

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