Go to the documentation of this file.
23 #include "../ElevatorStateMachine.hh"
30 inline namespace IGNITION_GAZEBO_VERSION_NAMESPACE {
38 template <
bool trigger>
39 struct EnqueueNewTarget
46 public:
template <
typename Event,
typename Fsm,
typename Source,
48 void operator()(
const Event &_event, Fsm &_fsm, Source & ,
51 _fsm.dataPtr->EnqueueNewTarget(_event.target);
66 public:
template <
typename Event,
typename Fsm,
typename Source,
72 if (_fsm.dataPtr->targets.front() == _fsm.dataPtr->system->state)
73 _fsm.dataPtr->targets.pop_front();
86 public:
template <
typename Event,
typename Fsm,
typename Source,
92 _fsm.dataPtr->targets.pop_front();
This library is part of the Gazebo project.
Definition: gz/sim/Actor.hh:33
Action that cleans up the target queue when a new target is processed.
Definition: ActionsImpl.hh:59
Action that cleans up the target queue when the cabin reaches the target floor level.
Definition: ActionsImpl.hh:79
void operator()(const Event &_event, Fsm &_fsm, Source &, Target &)
Function call operator.
Definition: ActionsImpl.hh:48
void operator()(const Event &, Fsm &_fsm, Source &, Target &)
Function call operator.
Definition: ActionsImpl.hh:68
void operator()(const Event &, Fsm &_fsm, Source &, Target &)
Function call operator.
Definition: ActionsImpl.hh:88
Event that signifies a new target will be processed.
Definition: EventsImpl.hh:47