ASCO Aerial Autonomy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | List of all members
boost::msm::front::ShortingActionSequence_< Sequence > Struct Template Reference

Action sequence that runs until one of the actions returns false. More...

#include <shorting_action_sequence.h>

Classes

struct  Call
 Functor used to instantiate and evaluate elements in the sequence. More...
 
struct  CallSourceTarget
 Functor used to instantiate and evaluate elements in the sequence. More...
 
struct  state_action_result
 Copied from boost main file. Not sure what this is for! More...
 
struct  transition_action_result
 Not sure what this is! Copied from boost main file. More...
 

Public Types

typedef Sequence sequence
 Sequence of elements that are instantiated and evaluated. More...
 
typedef ::boost::mpl::bool_
< ::boost::mpl::count_if
< sequence,
has_deferring_action
<::boost::mpl::placeholders::_1 >
>::value!=0 > 
some_deferring_actions
 Deferring actions for the sequence. More...
 
typedef ::boost::mpl::set
< state_action_tag, action_tag > 
tag_type
 Tag type. More...
 

Public Member Functions

template<class EVT , class FSM , class STATE >
bool operator() (EVT const &evt, FSM &fsm, STATE &state)
 operator to evaluate the action sequence More...
 
template<class EVT , class FSM , class SourceState , class TargetState >
bool operator() (EVT const &evt, FSM &fsm, SourceState &src, TargetState &tgt)
 operator to evaluate the action sequence More...
 

Detailed Description

template<class Sequence>
struct boost::msm::front::ShortingActionSequence_< Sequence >

Action sequence that runs until one of the actions returns false.

Template Parameters
SequenceThe Sequence of elements that are instantiated and evaluated

Member Typedef Documentation

template<class Sequence >
typedef Sequence boost::msm::front::ShortingActionSequence_< Sequence >::sequence

Sequence of elements that are instantiated and evaluated.

template<class Sequence >
typedef ::boost::mpl::bool_< ::boost::mpl::count_if< sequence, has_deferring_action<::boost::mpl::placeholders::_1> >::value != 0> boost::msm::front::ShortingActionSequence_< Sequence >::some_deferring_actions

Deferring actions for the sequence.

template<class Sequence >
typedef ::boost::mpl::set<state_action_tag, action_tag> boost::msm::front::ShortingActionSequence_< Sequence >::tag_type

Tag type.

Member Function Documentation

template<class Sequence >
template<class EVT , class FSM , class STATE >
bool boost::msm::front::ShortingActionSequence_< Sequence >::operator() ( EVT const &  evt,
FSM &  fsm,
STATE &  state 
)
inline

operator to evaluate the action sequence

Template Parameters
EVTEvent type
FSMStatemachine type
STATEState type
Parameters
evtevent instance
fsmstatemachine instance
statestate instance
Returns
true if the action sequence returns true/false otherwise
template<class Sequence >
template<class EVT , class FSM , class SourceState , class TargetState >
bool boost::msm::front::ShortingActionSequence_< Sequence >::operator() ( EVT const &  evt,
FSM &  fsm,
SourceState &  src,
TargetState &  tgt 
)
inline

operator to evaluate the action sequence

Template Parameters
EVTEvent type
FSMStatemachine type
SourceStatesource state type
TargetStatetarget state type
Parameters
evtevent instance
fsmstatemachine instance
srcsource state instance
tgttarget state instance
Returns
true if the action sequence returns true/false otherwise

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