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

#include <traffic_signal_state_action.hpp>

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

Public Member Functions

 TrafficSignalStateAction (const pugi::xml_node &, Scope &)
 
auto start () const -> void
 
auto id () const -> std::int64_t
 

Static Public Member Functions

static auto accomplished () noexcept -> bool
 
static auto endsImmediately () noexcept -> bool
 
static auto run () noexcept -> void
 

Public Attributes

const String name
 
const String state
 

Constructor & Destructor Documentation

◆ TrafficSignalStateAction()

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

Member Function Documentation

◆ accomplished()

auto openscenario_interpreter::syntax::TrafficSignalStateAction::accomplished ( ) -> bool
staticnoexcept

◆ endsImmediately()

auto openscenario_interpreter::syntax::TrafficSignalStateAction::endsImmediately ( ) -> bool
staticnoexcept

◆ id()

auto openscenario_interpreter::syntax::TrafficSignalStateAction::id ( ) const -> std::int64_t

◆ run()

auto openscenario_interpreter::syntax::TrafficSignalStateAction::run ( ) -> void
staticnoexcept

◆ start()

auto openscenario_interpreter::syntax::TrafficSignalStateAction::start ( ) const -> void

Member Data Documentation

◆ name

const String openscenario_interpreter::syntax::TrafficSignalStateAction::name

◆ state

const String openscenario_interpreter::syntax::TrafficSignalStateAction::state

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