Gazebo Sim

API Reference

8.7.0
EnqueueNewTarget< trigger > Struct Template Reference

Action that enqueues a new target in the target queue. More...

#include <ActionsImpl.hh>

Public Member Functions

template<typename Event , typename Fsm , typename Source , typename Target >
void operator() (const Event &_event, Fsm &_fsm, Source &, Target &)
 Function call operator. More...
 

Detailed Description

template<bool trigger>
struct gz::sim::systems::actions::EnqueueNewTarget< trigger >

Action that enqueues a new target in the target queue.

After the new target has been added in the queue, depending on the template parameter, an events::NewTarget is triggered.

Member Function Documentation

◆ operator()()

void operator() ( const Event &  _event,
Fsm &  _fsm,
Source &  ,
Target &   
)
inline

Function call operator.

Parameters
[in]_eventEvent that triggered the action
[in]_fsmState machine with which the action is associated
[in]_sourceSource state
[in]_targetTarget state

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