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

#include <relative_distance_condition.hpp>

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

Public Member Functions

 RelativeDistanceCondition (const pugi::xml_node &, Scope &, const TriggeringEntities &)
 
auto description () const -> String
 
template<CoordinateSystem::value_type , RelativeDistanceType::value_type , RoutingAlgorithm::value_type , Boolean::value_type >
auto distance (const EntityRef &) -> double
 
auto distance (const EntityRef &) -> double
 
auto evaluate () -> Object
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 
template<>
auto distance (const EntityRef &triggering_entity) -> double
 

Public Attributes

const CoordinateSystem coordinate_system
 
const String entity_ref
 
const Boolean freespace
 
const RelativeDistanceType relative_distance_type
 
const RoutingAlgorithm routing_algorithm
 
const Rule rule
 
const Double value
 
const TriggeringEntities triggering_entities
 
std::vector< Doubleresults
 
const bool consider_z
 

Constructor & Destructor Documentation

◆ RelativeDistanceCondition()

openscenario_interpreter::syntax::RelativeDistanceCondition::RelativeDistanceCondition ( const pugi::xml_node &  node,
Scope scope,
const TriggeringEntities triggering_entities 
)
explicit

Member Function Documentation

◆ description()

auto openscenario_interpreter::syntax::RelativeDistanceCondition::description ( ) const -> String

◆ distance() [1/16]

template<CoordinateSystem::value_type , RelativeDistanceType::value_type , RoutingAlgorithm::value_type , Boolean::value_type >
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef ) -> double
inline

◆ distance() [2/16]

auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [3/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [4/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double
Note
This implementation differs from the OpenSCENARIO standard. See the section "6.4. Distances" in the OpenSCENARIO User Guide.

◆ distance() [5/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [6/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double
Note
This implementation differs from the OpenSCENARIO standard. See the section "6.4. Distances" in the OpenSCENARIO User Guide.

◆ distance() [7/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [8/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [9/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [10/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [11/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [12/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [13/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [14/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [15/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ distance() [16/16]

template<>
auto openscenario_interpreter::syntax::RelativeDistanceCondition::distance ( const EntityRef triggering_entity) -> double

◆ evaluate()

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

Member Data Documentation

◆ consider_z

const bool openscenario_interpreter::syntax::RelativeDistanceCondition::consider_z

◆ coordinate_system

const CoordinateSystem openscenario_interpreter::syntax::RelativeDistanceCondition::coordinate_system

◆ entity_ref

const String openscenario_interpreter::syntax::RelativeDistanceCondition::entity_ref

◆ freespace

const Boolean openscenario_interpreter::syntax::RelativeDistanceCondition::freespace

◆ relative_distance_type

const RelativeDistanceType openscenario_interpreter::syntax::RelativeDistanceCondition::relative_distance_type

◆ results

std::vector<Double> openscenario_interpreter::syntax::RelativeDistanceCondition::results

◆ routing_algorithm

const RoutingAlgorithm openscenario_interpreter::syntax::RelativeDistanceCondition::routing_algorithm

◆ rule

const Rule openscenario_interpreter::syntax::RelativeDistanceCondition::rule

◆ triggering_entities

const TriggeringEntities openscenario_interpreter::syntax::RelativeDistanceCondition::triggering_entities

◆ value

const Double openscenario_interpreter::syntax::RelativeDistanceCondition::value

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