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

#include <phase.hpp>

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

Public Member Functions

 Phase (const pugi::xml_node &, Scope &)
 
auto evaluate () const -> Object
 

Public Attributes

const String name
 
const Double duration
 
const std::list< TrafficSignalStatetraffic_signal_states
 
const std::map< std::pair< lanelet::Id, TrafficSignalState::TrafficSignalType >, std::vector< const TrafficSignalState * > > grouped_states
 

Constructor & Destructor Documentation

◆ Phase()

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

Member Function Documentation

◆ evaluate()

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

Member Data Documentation

◆ duration

const Double openscenario_interpreter::syntax::Phase::duration

◆ grouped_states

const std::map< std::pair<lanelet::Id, TrafficSignalState::TrafficSignalType>, std::vector<const TrafficSignalState *> > openscenario_interpreter::syntax::Phase::grouped_states

◆ name

const String openscenario_interpreter::syntax::Phase::name

◆ traffic_signal_states

const std::list<TrafficSignalState> openscenario_interpreter::syntax::Phase::traffic_signal_states

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