|
| virtual void | run (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 > |
| void | operator() (EventT const &, FSM &logic_state_machine, SourceState &, TargetState &) |
| | operator () Internally calls run function More...
|
| |
| virtual | ~EventAgnosticActionFunctor () |
| | virtual destructor to get polymorphism More...
|
| |
template<class RobotSystemT, class LogicStateMachineT>
struct EventAgnosticActionFunctor< RobotSystemT, LogicStateMachineT >
Action functor that does not require the event triggering it.
This action functor performs the same action irrespective of the event triggering it. For example takeoff, land actions
- Template Parameters
-
| RobotSystemT | The robot system used in the action |
template<class RobotSystemT, class LogicStateMachineT>
template<class EventT , class FSM , class SourceState , class TargetState >
| void EventAgnosticActionFunctor< 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. |