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

#include <traffic_signal_condition.hpp>

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

Public Member Functions

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

Public Attributes

const String name
 
const String state
 
String current_state
 

Constructor & Destructor Documentation

◆ TrafficSignalCondition()

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

Member Function Documentation

◆ description()

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

◆ evaluate()

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

Member Data Documentation

◆ current_state

String openscenario_interpreter::syntax::TrafficSignalCondition::current_state

◆ name

const String openscenario_interpreter::syntax::TrafficSignalCondition::name

◆ state

const String openscenario_interpreter::syntax::TrafficSignalCondition::state

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