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

#include <misc_object.hpp>

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

Public Member Functions

 MiscObject (const pugi::xml_node &, Scope &)
 
 operator traffic_simulator_msgs::msg::MiscObjectParameters () const
 
- 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
 

Public Attributes

const Double mass
 
const MiscObjectCategory misc_object_category
 
const String model3d
 
const ParameterDeclarations parameter_declarations
 
const BoundingBox bounding_box
 
Properties properties
 
- Public Attributes inherited from openscenario_interpreter::Scope
const std::string name
 
std::list< Entityactors
 
double seed
 

Static Public Attributes

static constexpr ObjectType object_type {ObjectType::miscellaneous}
 

Constructor & Destructor Documentation

◆ MiscObject()

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

Member Function Documentation

◆ operator traffic_simulator_msgs::msg::MiscObjectParameters()

openscenario_interpreter::syntax::MiscObject::operator traffic_simulator_msgs::msg::MiscObjectParameters ( ) const
explicit

Member Data Documentation

◆ bounding_box

const BoundingBox openscenario_interpreter::syntax::MiscObject::bounding_box

◆ mass

const Double openscenario_interpreter::syntax::MiscObject::mass

◆ misc_object_category

const MiscObjectCategory openscenario_interpreter::syntax::MiscObject::misc_object_category

◆ model3d

const String openscenario_interpreter::syntax::MiscObject::model3d

◆ object_type

constexpr ObjectType openscenario_interpreter::syntax::MiscObject::object_type {ObjectType::miscellaneous}
staticconstexpr

◆ parameter_declarations

const ParameterDeclarations openscenario_interpreter::syntax::MiscObject::parameter_declarations

◆ properties

Properties openscenario_interpreter::syntax::MiscObject::properties

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