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

#include <traffic_signal_state.hpp>

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

Public Member Functions

 TrafficSignalState (const pugi::xml_node &, Scope &)
 
auto evaluate () const -> Object
 
auto id () const -> lanelet::Id
 

Public Attributes

const String traffic_signal_id
 
const String state
 

Constructor & Destructor Documentation

◆ TrafficSignalState()

openscenario_interpreter::syntax::TrafficSignalState::TrafficSignalState ( const pugi::xml_node &  node,
Scope scope 
)
explicit

Member Function Documentation

◆ evaluate()

auto openscenario_interpreter::syntax::TrafficSignalState::evaluate ( ) const -> Object

◆ id()

auto openscenario_interpreter::syntax::TrafficSignalState::id ( ) const -> lanelet::Id

Member Data Documentation

◆ state

const String openscenario_interpreter::syntax::TrafficSignalState::state

◆ traffic_signal_id

const String openscenario_interpreter::syntax::TrafficSignalState::traffic_signal_id

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