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

#include <traffic_signal_controller_condition.hpp>

Collaboration diagram for openscenario_interpreter::syntax::TrafficSignalControllerCondition:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

const String phase
 
const String traffic_signal_controller_ref
 
String current_phase_name
 
Double current_phase_since
 
Scope scope
 

Constructor & Destructor Documentation

◆ TrafficSignalControllerCondition()

openscenario_interpreter::syntax::TrafficSignalControllerCondition::TrafficSignalControllerCondition ( const pugi::xml_node &  tree,
const Scope scope 
)
explicit

Member Function Documentation

◆ description()

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

◆ evaluate()

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

Member Data Documentation

◆ current_phase_name

String openscenario_interpreter::syntax::TrafficSignalControllerCondition::current_phase_name

◆ current_phase_since

Double openscenario_interpreter::syntax::TrafficSignalControllerCondition::current_phase_since

◆ phase

const String openscenario_interpreter::syntax::TrafficSignalControllerCondition::phase

◆ scope

Scope openscenario_interpreter::syntax::TrafficSignalControllerCondition::scope

◆ traffic_signal_controller_ref

const String openscenario_interpreter::syntax::TrafficSignalControllerCondition::traffic_signal_controller_ref

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