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

#include <time_to_collision_condition.hpp>

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

Public Member Functions

 TimeToCollisionCondition (const pugi::xml_node &node, Scope &scope, const TriggeringEntities &triggering_entities)
 
auto description () const
 
auto evaluate ()
 

Static Public Member Functions

static auto evaluate (const Entities *entities, const Entity &triggering_entity, const TimeToCollisionConditionTarget &time_to_collision_condition_target, CoordinateSystem coordinate_system, RelativeDistanceType relative_distance_type, RoutingAlgorithm routing_algorithm, Boolean freespace)
 

Public Attributes

const TimeToCollisionConditionTarget time_to_collision_condition_target
 
const Boolean freespace
 
const Rule rule
 
const Double value
 
const RelativeDistanceType relative_distance_type
 
const CoordinateSystem coordinate_system
 
const RoutingAlgorithm routing_algorithm
 
const TriggeringEntities triggering_entities
 
std::vector< std::valarray< double > > evaluations
 

Constructor & Destructor Documentation

◆ TimeToCollisionCondition()

openscenario_interpreter::syntax::TimeToCollisionCondition::TimeToCollisionCondition ( const pugi::xml_node &  node,
Scope scope,
const TriggeringEntities triggering_entities 
)
inlineexplicit

Member Function Documentation

◆ description()

auto openscenario_interpreter::syntax::TimeToCollisionCondition::description ( ) const
inline

◆ evaluate() [1/2]

auto openscenario_interpreter::syntax::TimeToCollisionCondition::evaluate ( )
inline

◆ evaluate() [2/2]

static auto openscenario_interpreter::syntax::TimeToCollisionCondition::evaluate ( const Entities entities,
const Entity triggering_entity,
const TimeToCollisionConditionTarget time_to_collision_condition_target,
CoordinateSystem  coordinate_system,
RelativeDistanceType  relative_distance_type,
RoutingAlgorithm  routing_algorithm,
Boolean  freespace 
)
inlinestatic

Member Data Documentation

◆ coordinate_system

const CoordinateSystem openscenario_interpreter::syntax::TimeToCollisionCondition::coordinate_system

◆ evaluations

std::vector<std::valarray<double> > openscenario_interpreter::syntax::TimeToCollisionCondition::evaluations

◆ freespace

const Boolean openscenario_interpreter::syntax::TimeToCollisionCondition::freespace

◆ relative_distance_type

const RelativeDistanceType openscenario_interpreter::syntax::TimeToCollisionCondition::relative_distance_type

◆ routing_algorithm

const RoutingAlgorithm openscenario_interpreter::syntax::TimeToCollisionCondition::routing_algorithm

◆ rule

const Rule openscenario_interpreter::syntax::TimeToCollisionCondition::rule

◆ time_to_collision_condition_target

const TimeToCollisionConditionTarget openscenario_interpreter::syntax::TimeToCollisionCondition::time_to_collision_condition_target

◆ triggering_entities

const TriggeringEntities openscenario_interpreter::syntax::TimeToCollisionCondition::triggering_entities

◆ value

const Double openscenario_interpreter::syntax::TimeToCollisionCondition::value

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