IsInState< TargetState > Struct Template Reference
Guard that checks whether the state machine is in a given state. More...
#include <ElevatorStateMachine.hh>
Public Member Functions | |
template<typename Fsm , typename State > | |
bool | operator() (const Fsm &_fsm, const State &) |
Function call operator. More... | |
Detailed Description
template<typename TargetState>
struct ignition::gazebo::systems::guards::IsInState< TargetState >
Guard that checks whether the state machine is in a given state.
- Note
- The template parameter generalizes the target state.
Member Function Documentation
◆ operator()()
|
inline |
Function call operator.
- Parameters
-
[in] _fsm State machine with which the guard is associated
The documentation for this struct was generated from the following files: