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

#include <speed_profile_action.hpp>

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

Public Member Functions

 SpeedProfileAction (const pugi::xml_node &, Scope &)
 
auto accomplished () -> bool
 
auto apply (const Entity &, const SpeedProfileEntry &) -> void
 
auto endsImmediately () const -> bool
 
auto run () -> void
 
auto start () -> void
 

Public Attributes

const Entity entity_ref
 
const FollowingMode following_mode
 
const DynamicConstraints dynamic_constraints
 
const std::list< SpeedProfileEntryspeed_profile_entry
 
std::unordered_map< Entity, std::list< SpeedProfileEntry >::const_iterator > accomplishments
 

Constructor & Destructor Documentation

◆ SpeedProfileAction()

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

Member Function Documentation

◆ accomplished()

auto openscenario_interpreter::syntax::SpeedProfileAction::accomplished ( ) -> bool

◆ apply()

auto openscenario_interpreter::syntax::SpeedProfileAction::apply ( const Entity actor,
const SpeedProfileEntry speed_profile_entry 
) -> void

◆ endsImmediately()

auto openscenario_interpreter::syntax::SpeedProfileAction::endsImmediately ( ) const -> bool

◆ run()

auto openscenario_interpreter::syntax::SpeedProfileAction::run ( ) -> void

◆ start()

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

Member Data Documentation

◆ accomplishments

std::unordered_map<Entity, std::list<SpeedProfileEntry>::const_iterator> openscenario_interpreter::syntax::SpeedProfileAction::accomplishments

◆ dynamic_constraints

const DynamicConstraints openscenario_interpreter::syntax::SpeedProfileAction::dynamic_constraints

◆ entity_ref

const Entity openscenario_interpreter::syntax::SpeedProfileAction::entity_ref

◆ following_mode

const FollowingMode openscenario_interpreter::syntax::SpeedProfileAction::following_mode

◆ speed_profile_entry

const std::list<SpeedProfileEntry> openscenario_interpreter::syntax::SpeedProfileAction::speed_profile_entry

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