|
| virtual bool | guard (RobotSystemT &robot_system)=0 |
| | Override this run function for different sub classes. This function performs the logic checking for each state. More...
|
| |
| template<class EventT , class FSM , class SourceState , class TargetState > |
| bool | operator() (EventT const &, FSM &logic_state_machine, SourceState &, TargetState &) |
| | operator () Internally calls run function More...
|
| |
| virtual | ~EventAgnosticGuardFunctor () |
| | virtual destructor to get polymorphism More...
|
| |
template<class RobotSystemT, class LogicStateMachineT>
struct EventAgnosticGuardFunctor< RobotSystemT, LogicStateMachineT >
Guard functor that does not require the event triggering it.
This action functor performs the same guard check irrespective of the event triggering it.
- Template Parameters
-
| RobotSystemT | The robot system used in the guard |
template<class RobotSystemT, class LogicStateMachineT>
template<class EventT , class FSM , class SourceState , class TargetState >
| bool EventAgnosticGuardFunctor< RobotSystemT, LogicStateMachineT >::operator() |
( |
EventT const & |
, |
|
|
FSM & |
logic_state_machine, |
|
|
SourceState & |
, |
|
|
TargetState & |
|
|
) |
| |
|
inline |
operator () Internally calls run function
- Parameters
-
| logic_state_machine | Backend of logic State Machine. can send events using this. |