scenario_simulator_v2 C++ API
Public Member Functions | List of all members
behavior_tree_plugin::ResetRequestEvent Class Reference

#include <reset_request_event.hpp>

Inheritance diagram for behavior_tree_plugin::ResetRequestEvent:
Inheritance graph
[legend]
Collaboration diagram for behavior_tree_plugin::ResetRequestEvent:
Collaboration graph
[legend]

Public Member Functions

 ResetRequestEvent (BT::TreeNode *root_node, std::function< traffic_simulator::behavior::Request()> get_request_function, std::function< void()> reset_request_function)
 
const std::string & getCurrentAction () const
 
- Public Member Functions inherited from behavior_tree_plugin::TransitionEvent
 TransitionEvent (BT::TreeNode *root_node)
 

Additional Inherited Members

- Protected Member Functions inherited from behavior_tree_plugin::TransitionEvent
void updateCurrentAction (const BT::NodeStatus &status, const BT::TreeNode &node)
 
- Protected Attributes inherited from behavior_tree_plugin::TransitionEvent
BT::TimePoint first_timestamp_
 
std::vector< BT::TreeNode::StatusChangeSubscriber > subscribers_
 
BT::TimestampType type_
 
std::string current_action_
 

Constructor & Destructor Documentation

◆ ResetRequestEvent()

behavior_tree_plugin::ResetRequestEvent::ResetRequestEvent ( BT::TreeNode *  root_node,
std::function< traffic_simulator::behavior::Request()>  get_request_function,
std::function< void()>  reset_request_function 
)

Member Function Documentation

◆ getCurrentAction()

const std::string& behavior_tree_plugin::ResetRequestEvent::getCurrentAction ( ) const

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