scenario_simulator_v2 C++ API
Classes | Public Member Functions | Public Attributes | List of all members
openscenario_interpreter::Scope Class Reference

#include <scope.hpp>

Inheritance diagram for openscenario_interpreter::Scope:
Inheritance graph
[legend]

Public Member Functions

 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
 

Public Attributes

const std::string name
 
std::list< EntityRefactors
 
double seed
 

Constructor & Destructor Documentation

◆ Scope() [1/5]

openscenario_interpreter::Scope::Scope ( )
delete

◆ Scope() [2/5]

openscenario_interpreter::Scope::Scope ( const Scope )
default

◆ Scope() [3/5]

openscenario_interpreter::Scope::Scope ( Scope &&  )
default

◆ Scope() [4/5]

openscenario_interpreter::Scope::Scope ( const OpenScenario * const  open_scenario)
explicit

◆ Scope() [5/5]

openscenario_interpreter::Scope::Scope ( const std::string &  name,
const Scope outer 
)
explicit

Member Function Documentation

◆ dirname()

auto openscenario_interpreter::Scope::dirname ( ) const -> std::string

◆ global() [1/2]

auto openscenario_interpreter::Scope::global ( ) -> ScenarioDefinition &

◆ global() [2/2]

auto openscenario_interpreter::Scope::global ( ) const -> const ScenarioDefinition &

◆ insert()

auto openscenario_interpreter::Scope::insert ( const Name identifier,
const Object object 
) -> void

◆ local() [1/2]

auto openscenario_interpreter::Scope::local ( ) const -> const Scope &
noexcept

◆ local() [2/2]

auto openscenario_interpreter::Scope::local ( ) -> Scope &
noexcept

◆ ref() [1/2]

template<typename... Ts>
auto openscenario_interpreter::Scope::ref ( Ts &&...  xs) const -> decltype(auto)
inline

◆ ref() [2/2]

template<typename T , typename... Ts>
auto openscenario_interpreter::Scope::ref ( Ts &&...  xs) const -> decltype(auto)
inline

Member Data Documentation

◆ actors

std::list<EntityRef> openscenario_interpreter::Scope::actors

◆ name

const std::string openscenario_interpreter::Scope::name

◆ seed

double openscenario_interpreter::Scope::seed

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