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

#include <add_entity_action.hpp>

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

Public Member Functions

 AddEntityAction (const Scope &, const Position &)
 
 AddEntityAction (const pugi::xml_node &, Scope &)
 
auto operator() (const EntityRef &) const -> void
 

Static Public Member Functions

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

Public Attributes

const Position position
 

Constructor & Destructor Documentation

◆ AddEntityAction() [1/2]

openscenario_interpreter::syntax::AddEntityAction::AddEntityAction ( const Scope scope,
const Position position 
)
explicit

◆ AddEntityAction() [2/2]

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

Member Function Documentation

◆ accomplished()

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

◆ endsImmediately()

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

◆ operator()()

auto openscenario_interpreter::syntax::AddEntityAction::operator() ( const EntityRef entity_ref) const -> void

Member Data Documentation

◆ position

const Position openscenario_interpreter::syntax::AddEntityAction::position

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