scenario_simulator_v2 C++ API
|
#include <maneuver.hpp>
Public Member Functions | |
Maneuver (const pugi::xml_node &, Scope &) | |
auto | run () -> void override |
auto | overrideEvents () -> void |
auto | running_events_count () const -> std::size_t |
Public Member Functions inherited from openscenario_interpreter::Scope | |
Scope ()=delete | |
Scope (const Scope &)=default | |
Scope (Scope &&)=default | |
Scope (const OpenScenario *const) | |
Scope (const std::string &, const Scope &) | |
auto | dirname () const -> std::string |
template<typename... Ts> | |
auto | ref (Ts &&... xs) const -> decltype(auto) |
template<typename T , typename... Ts> | |
auto | ref (Ts &&... xs) const -> decltype(auto) |
auto | global () const -> const ScenarioDefinition & |
auto | global () -> ScenarioDefinition & |
auto | local () const noexcept -> const Scope & |
auto | local () noexcept -> Scope & |
auto | insert (const Name &, const Object &) -> void |
Public Member Functions inherited from openscenario_interpreter::syntax::StoryboardElement | |
StoryboardElement (const Trigger &stop_trigger) | |
StoryboardElement (const Trigger &start_trigger, const Trigger &stop_trigger) | |
StoryboardElement (const std::size_t maximum_execution_count, const Trigger &start_trigger) | |
StoryboardElement (const std::size_t maximum_execution_count=1) | |
auto | state () const -> const auto & |
template<StoryboardElementState::value_type State> | |
auto | is () const |
auto | override () |
void | addTransitionCallback (StoryboardElementState::value_type transition, std::function< void(const StoryboardElement &)> callback) |
auto | transitionTo (const Object &state) -> bool |
virtual auto | evaluate () -> Object |
Public Attributes | |
const ParameterDeclarations | parameter_declarations |
Public Attributes inherited from openscenario_interpreter::Scope | |
const std::string | name |
std::list< Entity > | actors |
double | seed |
Friends | |
auto | operator<< (boost::json::object &, const Maneuver &) -> boost::json::object & |
Additional Inherited Members | |
Protected Member Functions inherited from openscenario_interpreter::syntax::StoryboardElement | |
auto | rename (const std::string &name) const |
auto | unique (const std::string &name) |
template<typename U , typename Node , typename... Ts> | |
auto | readStoryboardElement (const Node &node, Scope &inner_scope, Ts &&... xs) |
template<typename U , typename Node , typename... Ts> | |
auto | readCatalogedStoryboardElement (const Node &node, Scope &inner_scope, Ts &&... xs) |
Protected Attributes inherited from openscenario_interpreter::syntax::StoryboardElement | |
Trigger | stop_trigger |
const std::size_t | maximum_execution_count = 1 |
std::size_t | current_execution_count = 0 |
Object | current_state = standby_state |
Elements | elements |
Trigger | start_trigger {{ConditionGroup()}} |
std::unordered_set< std::string > | names |
|
explicit |
auto openscenario_interpreter::syntax::Maneuver::overrideEvents | ( | ) | -> void |
|
overridevirtual |
Reimplemented from openscenario_interpreter::syntax::StoryboardElement.
auto openscenario_interpreter::syntax::Maneuver::running_events_count | ( | ) | const -> std::size_t |
|
friend |
const ParameterDeclarations openscenario_interpreter::syntax::Maneuver::parameter_declarations |