ASCO Aerial Autonomy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
ManualControlInternalActionFunctor_< LogicStateMachineT > Struct Template Reference

Check if hardware is allowing to switch sdk mode. More...

#include <manual_control_functors.h>

Inheritance diagram for ManualControlInternalActionFunctor_< LogicStateMachineT >:
Inheritance graph
[legend]
Collaboration diagram for ManualControlInternalActionFunctor_< LogicStateMachineT >:
Collaboration graph
[legend]

Public Member Functions

bool run (UAVSystem &robot_system, LogicStateMachineT &logic_state_machine)
 Check if hardware is allowing to switch to sdk mode and trigger appropriate events. More...
 
- Public Member Functions inherited from InternalActionFunctor< UAVSystem, LogicStateMachineT >
bool operator() (EventT const &, FSM &logic_state_machine, SourceState &, TargetState &)
 operator () Internally calls run function More...
 
virtual ~InternalActionFunctor ()
 virtual destructor to get polymorphism More...
 

Detailed Description

template<class LogicStateMachineT>
struct ManualControlInternalActionFunctor_< LogicStateMachineT >

Check if hardware is allowing to switch sdk mode.

Template Parameters
LogicStateMachineTLogic state machine used to process events

Member Function Documentation

template<class LogicStateMachineT >
bool ManualControlInternalActionFunctor_< LogicStateMachineT >::run ( UAVSystem robot_system,
LogicStateMachineT &  logic_state_machine 
)
inlinevirtual

Check if hardware is allowing to switch to sdk mode and trigger appropriate events.

Parameters
robot_systemrobot system to get sensor data
logic_state_machinelogic state machine to trigger events

Implements InternalActionFunctor< UAVSystem, LogicStateMachineT >.


The documentation for this struct was generated from the following file: