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

#include <time_headway_condition.hpp>

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

Public Member Functions

 TimeHeadwayCondition (const pugi::xml_node &, Scope &, const TriggeringEntities &)
 
auto description () const -> String
 
auto evaluate () -> Object
 

Public Attributes

const Entity entity_ref
 
const Double value
 
const Boolean freespace
 
const Boolean along_route
 
const Rule compare
 
const TriggeringEntities triggering_entities
 
std::vector< std::valarray< double > > results
 

Constructor & Destructor Documentation

◆ TimeHeadwayCondition()

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

Member Function Documentation

◆ description()

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

◆ evaluate()

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

Member Data Documentation

◆ along_route

const Boolean openscenario_interpreter::syntax::TimeHeadwayCondition::along_route

◆ compare

const Rule openscenario_interpreter::syntax::TimeHeadwayCondition::compare

◆ entity_ref

const Entity openscenario_interpreter::syntax::TimeHeadwayCondition::entity_ref

◆ freespace

const Boolean openscenario_interpreter::syntax::TimeHeadwayCondition::freespace

◆ results

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

◆ triggering_entities

const TriggeringEntities openscenario_interpreter::syntax::TimeHeadwayCondition::triggering_entities

◆ value

const Double openscenario_interpreter::syntax::TimeHeadwayCondition::value

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