scenario_simulator_v2 C++ API
Public Member Functions | Public Attributes | List of all members
openscenario_interpreter::syntax::Environment Struct Reference

#include <environment.hpp>

Inheritance diagram for openscenario_interpreter::syntax::Environment:
Inheritance graph
[legend]
Collaboration diagram for openscenario_interpreter::syntax::Environment:
Collaboration graph
[legend]

Public Member Functions

 Environment ()=default
 
 Environment (const pugi::xml_node &, Scope &)
 
- 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 Attributes

const ParameterDeclarations parameter_declarations
 
const TimeOfDay time_of_day
 
const Weather weather
 
const RoadCondition road_condition
 
- Public Attributes inherited from openscenario_interpreter::Scope
const std::string name
 
std::list< Entityactors
 
double seed
 

Constructor & Destructor Documentation

◆ Environment() [1/2]

openscenario_interpreter::syntax::Environment::Environment ( )
default

◆ Environment() [2/2]

openscenario_interpreter::syntax::Environment::Environment ( const pugi::xml_node &  node,
Scope scope 
)
explicit

Member Data Documentation

◆ parameter_declarations

const ParameterDeclarations openscenario_interpreter::syntax::Environment::parameter_declarations

◆ road_condition

const RoadCondition openscenario_interpreter::syntax::Environment::road_condition

◆ time_of_day

const TimeOfDay openscenario_interpreter::syntax::Environment::time_of_day

◆ weather

const Weather openscenario_interpreter::syntax::Environment::weather

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