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

#include <teleport_action.hpp>

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

Public Member Functions

 TeleportAction (const pugi::xml_node &, Scope &)
 
auto evaluate () const -> Object
 
auto start () const -> void
 

Static Public Member Functions

static auto accomplished () noexcept -> bool
 
static auto endsImmediately () noexcept -> bool
 
static auto run () noexcept -> void
 
static auto teleport (const EntityRef &, const Position &) -> void
 

Public Attributes

const Position position
 

Constructor & Destructor Documentation

◆ TeleportAction()

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

Member Function Documentation

◆ accomplished()

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

◆ endsImmediately()

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

◆ evaluate()

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

◆ run()

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

◆ start()

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

◆ teleport()

auto openscenario_interpreter::syntax::TeleportAction::teleport ( const EntityRef entity_ref,
const Position position 
) -> void
static

Member Data Documentation

◆ position

const Position openscenario_interpreter::syntax::TeleportAction::position

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