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

#include <traffic_signal_controller_action.hpp>

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

Public Member Functions

 TrafficSignalControllerAction (const pugi::xml_node &, const Scope &)
 
auto start () -> void
 
- Public Member Functions inherited from openscenario_interpreter::Scope
 Scope ()=delete
 
 Scope (const Scope &)=default
 
 Scope (Scope &&)=default
 
 Scope (const OpenScenario *const)
 
 Scope (const std::string &, const Scope &)
 
auto dirname () const -> std::string
 
template<typename... Ts>
auto ref (Ts &&... xs) const -> decltype(auto)
 
template<typename T , typename... Ts>
auto ref (Ts &&... xs) const -> decltype(auto)
 
auto global () const -> const ScenarioDefinition &
 
auto global () -> ScenarioDefinition &
 
auto local () const noexcept -> const Scope &
 
auto local () noexcept -> Scope &
 
auto insert (const Name &, const Object &) -> void
 

Static Public Member Functions

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

Public Attributes

const String traffic_signal_controller_ref
 
const String phase
 
- Public Attributes inherited from openscenario_interpreter::Scope
const std::string name
 
std::list< Entityactors
 
double seed
 

Constructor & Destructor Documentation

◆ TrafficSignalControllerAction()

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

Member Function Documentation

◆ accomplished()

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

◆ endsImmediately()

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

◆ run()

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

◆ start()

auto openscenario_interpreter::syntax::TrafficSignalControllerAction::start ( ) -> void

Member Data Documentation

◆ phase

const String openscenario_interpreter::syntax::TrafficSignalControllerAction::phase

◆ traffic_signal_controller_ref

const String openscenario_interpreter::syntax::TrafficSignalControllerAction::traffic_signal_controller_ref

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