scenario_simulator_v2 C++ API
Public Member Functions | List of all members
openscenario_interpreter::Interpreter Class Reference

#include <openscenario_interpreter.hpp>

Inheritance diagram for openscenario_interpreter::Interpreter:
Inheritance graph
[legend]
Collaboration diagram for openscenario_interpreter::Interpreter:
Collaboration graph
[legend]

Public Member Functions

OPENSCENARIO_INTERPRETER_PUBLIC Interpreter (const rclcpp::NodeOptions &)
 
 ~Interpreter () override
 
auto currentLocalFrameRate () const -> std::chrono::milliseconds
 
auto currentScenarioDefinition () const -> const std::shared_ptr< ScenarioDefinition > &
 
auto engage () const -> void
 
auto engageable () const -> bool
 
auto engaged () const -> bool
 
auto makeCurrentConfiguration () const -> traffic_simulator::Configuration
 
auto on_activate (const rclcpp_lifecycle::State &) -> Result override
 
auto on_cleanup (const rclcpp_lifecycle::State &) -> Result override
 
auto on_configure (const rclcpp_lifecycle::State &) -> Result override
 
auto on_deactivate (const rclcpp_lifecycle::State &) -> Result override
 
auto on_error (const rclcpp_lifecycle::State &) -> Result override
 
auto on_shutdown (const rclcpp_lifecycle::State &) -> Result override
 
auto publishCurrentContext () const -> void
 
auto reset () -> void
 
template<typename T , typename... Ts>
auto set (Ts &&... xs) -> void
 
template<typename ExceptionHandler , typename Thunk >
auto withExceptionHandler (ExceptionHandler &&handle, Thunk &&thunk) -> decltype(auto)
 
template<typename TimeoutHandler , typename Thunk >
auto withTimeoutHandler (TimeoutHandler &&handle, Thunk &&thunk) -> decltype(auto)
 
auto defaultTimeoutHandler () const
 

Constructor & Destructor Documentation

◆ Interpreter()

openscenario_interpreter::Interpreter::Interpreter ( const rclcpp::NodeOptions &  options)
explicit

◆ ~Interpreter()

openscenario_interpreter::Interpreter::~Interpreter ( )
override

Member Function Documentation

◆ currentLocalFrameRate()

auto openscenario_interpreter::Interpreter::currentLocalFrameRate ( ) const -> std::chrono::milliseconds

◆ currentScenarioDefinition()

auto openscenario_interpreter::Interpreter::currentScenarioDefinition ( ) const -> const std::shared_ptr<ScenarioDefinition> &

◆ defaultTimeoutHandler()

auto openscenario_interpreter::Interpreter::defaultTimeoutHandler ( ) const
inline

◆ engage()

auto openscenario_interpreter::Interpreter::engage ( ) const -> void

◆ engageable()

auto openscenario_interpreter::Interpreter::engageable ( ) const -> bool

◆ engaged()

auto openscenario_interpreter::Interpreter::engaged ( ) const -> bool

◆ makeCurrentConfiguration()

auto openscenario_interpreter::Interpreter::makeCurrentConfiguration ( ) const -> traffic_simulator::Configuration

◆ on_activate()

auto openscenario_interpreter::Interpreter::on_activate ( const rclcpp_lifecycle::State &  ) -> Result
override

◆ on_cleanup()

auto openscenario_interpreter::Interpreter::on_cleanup ( const rclcpp_lifecycle::State &  ) -> Result
override

◆ on_configure()

auto openscenario_interpreter::Interpreter::on_configure ( const rclcpp_lifecycle::State &  ) -> Result
override

◆ on_deactivate()

auto openscenario_interpreter::Interpreter::on_deactivate ( const rclcpp_lifecycle::State &  ) -> Result
override

◆ on_error()

auto openscenario_interpreter::Interpreter::on_error ( const rclcpp_lifecycle::State &  ) -> Result
override

◆ on_shutdown()

auto openscenario_interpreter::Interpreter::on_shutdown ( const rclcpp_lifecycle::State &  ) -> Result
override

◆ publishCurrentContext()

auto openscenario_interpreter::Interpreter::publishCurrentContext ( ) const -> void

◆ reset()

auto openscenario_interpreter::Interpreter::reset ( ) -> void

◆ set()

template<typename T , typename... Ts>
auto openscenario_interpreter::Interpreter::set ( Ts &&...  xs) -> void
inline

◆ withExceptionHandler()

template<typename ExceptionHandler , typename Thunk >
auto openscenario_interpreter::Interpreter::withExceptionHandler ( ExceptionHandler &&  handle,
Thunk &&  thunk 
) -> decltype(auto)
inline

◆ withTimeoutHandler()

template<typename TimeoutHandler , typename Thunk >
auto openscenario_interpreter::Interpreter::withTimeoutHandler ( TimeoutHandler &&  handle,
Thunk &&  thunk 
) -> decltype(auto)
inline

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