scenario_simulator_v2 C++ API
Classes | Functions | Variables
common::scenario_simulator_exception Namespace Reference

Classes

struct  Error
 
struct  AutowareError
 Autoware encountered some problem that led to a simulation failure. More...
 
struct  SemanticError
 Although there were no syntactic errors in the description of the scenario, differences in meaning and inconsistencies were found. More...
 
struct  SimulationError
 A problem occurred that interfered with the continuation of the simulation. More...
 
struct  SpecificationViolation
 When simulator detects specification violation in simulation. More...
 
struct  SyntaxError
 There is a syntactic error in the description of the scenario. Or you are using a feature that is not yet supported by our implementation. More...
 

Functions

template<typename F , typename T >
constexpr decltype(auto) fold_left (F &&, T &&x)
 
template<typename F , typename T , typename U , typename... Ts>
constexpr decltype(auto) fold_left (F &&f, T &&x, U &&y, Ts &&... xs)
 
template<typename F , typename T >
constexpr decltype(auto) fold_right (F &&, T &&x)
 
template<typename F , typename T , typename... Ts>
constexpr decltype(auto) fold_right (F &&f, T &&x, Ts &&... xs)
 

Variables

auto concatenate
 

Function Documentation

◆ fold_left() [1/2]

template<typename F , typename T >
constexpr decltype(auto) common::scenario_simulator_exception::fold_left ( F &&  ,
T &&  x 
)
constexpr

◆ fold_left() [2/2]

template<typename F , typename T , typename U , typename... Ts>
constexpr decltype(auto) common::scenario_simulator_exception::fold_left ( F &&  f,
T &&  x,
U &&  y,
Ts &&...  xs 
)
constexpr

◆ fold_right() [1/2]

template<typename F , typename T >
constexpr decltype(auto) common::scenario_simulator_exception::fold_right ( F &&  ,
T &&  x 
)
constexpr

◆ fold_right() [2/2]

template<typename F , typename T , typename... Ts>
constexpr decltype(auto) common::scenario_simulator_exception::fold_right ( F &&  f,
T &&  x,
Ts &&...  xs 
)
constexpr

Variable Documentation

◆ concatenate

auto common::scenario_simulator_exception::concatenate
inline
Initial value:
= [](auto &&... xs) {
auto write = [](auto && os, auto && x) {
os.get() << std::forward<decltype(x)>(x);
return std::forward<decltype(os)>(os);
};
std::stringstream result;
fold_left(write, std::ref(result), std::forward<decltype(xs)>(xs)...);
return result.str();
}
constexpr decltype(auto) fold_left(F &&, T &&x)
Definition: fold.hpp:26
Definition: junit5.hpp:25