15 #ifndef OPENSCENARIO_INTERPRETER__SYNTAX__TRAFFIC_SIGNAL_CONTROLLER_HPP_
16 #define OPENSCENARIO_INTERPRETER__SYNTAX__TRAFFIC_SIGNAL_CONTROLLER_HPP_
25 #include <pugixml.hpp>
29 inline namespace syntax
70 std::optional<double> change_to_begin_time;
72 double current_phase_started_at;
74 std::vector<std::shared_ptr<TrafficSignalController>> observers;
Definition: scope.hpp:154
Definition: simulator_core.hpp:529
Definition: circular_iterator.hpp:27
Definition: traffic_signals.hpp:37
std::string String
Definition: string.hpp:24
Pointer< Expression > Object
Definition: object.hpp:26
Definition: double.hpp:25
Definition: traffic_signal_controller_action.hpp:38
Definition: traffic_signal_controller.hpp:44
auto shouldChangePhaseToBegin() -> bool
Definition: traffic_signal_controller.cpp:116
std::list< Phase > phases
Definition: traffic_signal_controller.hpp:65
auto changePhaseTo(const String &) -> Object
Definition: traffic_signal_controller.cpp:49
auto currentPhaseName() const -> const String &
Definition: traffic_signal_controller.cpp:83
const String reference
Definition: traffic_signal_controller.hpp:62
auto cycleTime() const -> double
Definition: traffic_signal_controller.cpp:93
TrafficSignalController()=delete
const String name
Definition: traffic_signal_controller.hpp:46
auto notifyBegin() -> void
Definition: traffic_signal_controller.cpp:111
const Double delay
Definition: traffic_signal_controller.hpp:56
auto currentPhaseSince() const -> double
Definition: traffic_signal_controller.cpp:88
auto evaluate() -> Object
Definition: traffic_signal_controller.cpp:100
TrafficSignalController(const TrafficSignalController &)=delete
auto currentPhaseExceeded() const -> bool
Definition: traffic_signal_controller.cpp:77
TrafficSignalController(TrafficSignalController &&)=delete