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

#include <uniform_distribution.hpp>

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

Public Member Functions

 UniformDistribution (const pugi::xml_node &, Scope &scope)
 
auto evaluate () -> Object
 
- Public Member Functions inherited from openscenario_interpreter::Pointer< Expression >
decltype(auto) rebind (Ts &&... xs)
 
decltype(auto) binding () const
 
auto type () const -> const std::type_info &
 
auto is () const -> bool
 
auto is_also () const
 
auto as () const -> U &
 
decltype(auto) evaluate (Ts &&... xs) const
 
decltype(auto) accomplished (Ts &&... xs) const
 
decltype(auto) description (Ts &&... xs) const
 

Public Attributes

const Range range
 
std::uniform_real_distribution< Double::value_typedistribute
 
std::mt19937 random_engine
 

Additional Inherited Members

- Static Public Member Functions inherited from openscenario_interpreter::Pointer< Expression >
static Pointer bind (Ts &&... xs)
 

Constructor & Destructor Documentation

◆ UniformDistribution()

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

Member Function Documentation

◆ evaluate()

auto openscenario_interpreter::syntax::UniformDistribution::evaluate ( ) -> Object

Member Data Documentation

◆ distribute

std::uniform_real_distribution<Double::value_type> openscenario_interpreter::syntax::UniformDistribution::distribute

◆ random_engine

std::mt19937 openscenario_interpreter::syntax::UniformDistribution::random_engine

◆ range

const Range openscenario_interpreter::syntax::UniformDistribution::range

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