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

#include <distance_condition.hpp>

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

Public Member Functions

 DistanceCondition (const pugi::xml_node &, Scope &, const TriggeringEntities &)
 
auto description () const -> std::string
 
auto evaluate () -> Object
 

Static Public Member Functions

template<CoordinateSystem::value_type , RelativeDistanceType::value_type , RoutingAlgorithm::value_type , Boolean::value_type >
static auto distance (const EntityRef &, const Position &) -> double
 
static auto evaluate (const Entities *, const Entity &, const Position &, CoordinateSystem, RelativeDistanceType, RoutingAlgorithm, Boolean) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 
template<>
auto distance (const EntityRef &triggering_entity, const Position &position) -> double
 

Public Attributes

const CoordinateSystem coordinate_system
 
const Boolean freespace
 
const RelativeDistanceType relative_distance_type
 
const RoutingAlgorithm routing_algorithm
 
const Rule rule
 
const Double value
 
const Position position
 
const TriggeringEntities triggering_entities
 
std::vector< std::valarray< double > > results
 

Constructor & Destructor Documentation

◆ DistanceCondition()

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

Member Function Documentation

◆ description()

auto openscenario_interpreter::syntax::DistanceCondition::description ( ) const -> std::string

◆ distance() [1/15]

template<CoordinateSystem::value_type , RelativeDistanceType::value_type , RoutingAlgorithm::value_type , Boolean::value_type >
static auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef ,
const Position  
) -> double
inlinestatic

◆ distance() [2/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [3/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [4/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [5/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [6/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [7/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [8/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [9/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [10/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [11/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [12/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [13/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [14/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ distance() [15/15]

template<>
auto openscenario_interpreter::syntax::DistanceCondition::distance ( const EntityRef triggering_entity,
const Position position 
) -> double
static

◆ evaluate() [1/2]

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

◆ evaluate() [2/2]

auto openscenario_interpreter::syntax::DistanceCondition::evaluate ( const Entities entities,
const Entity triggering_entity,
const Position position,
CoordinateSystem  coordinate_system,
RelativeDistanceType  relative_distance_type,
RoutingAlgorithm  routing_algorithm,
Boolean  freespace 
) -> double
static

Member Data Documentation

◆ coordinate_system

const CoordinateSystem openscenario_interpreter::syntax::DistanceCondition::coordinate_system

◆ freespace

const Boolean openscenario_interpreter::syntax::DistanceCondition::freespace

◆ position

const Position openscenario_interpreter::syntax::DistanceCondition::position

◆ relative_distance_type

const RelativeDistanceType openscenario_interpreter::syntax::DistanceCondition::relative_distance_type

◆ results

std::vector<std::valarray<double> > openscenario_interpreter::syntax::DistanceCondition::results

◆ routing_algorithm

const RoutingAlgorithm openscenario_interpreter::syntax::DistanceCondition::routing_algorithm

◆ rule

const Rule openscenario_interpreter::syntax::DistanceCondition::rule

◆ triggering_entities

const TriggeringEntities openscenario_interpreter::syntax::DistanceCondition::triggering_entities

◆ value

const Double openscenario_interpreter::syntax::DistanceCondition::value

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