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()()
|
inline |
Function call operator.
- Parameters
-
[in] _event Event that triggered the action [in] _fsm State machine with which the action is associated [in] _source Source state [in] _target Target state
The documentation for this struct was generated from the following files: