SMACC2
Classes | Public Types | Static Public Member Functions | List of all members
smacc2::Transition< Event, Destination, Tag, TransitionContext, pTransitionAction > Class Template Reference

#include <smacc_transition.hpp>

Collaboration diagram for smacc2::Transition< Event, Destination, Tag, TransitionContext, pTransitionAction >:
Collaboration graph

Classes

struct  reactions
 

Public Types

typedef Tag TRANSITION_TAG
 

Static Public Member Functions

template<class State , class EventBase , class IdType >
static boost::statechart::detail::reaction_result react (State &stt, const EventBase &evt, const IdType &eventType)
 

Detailed Description

template<class Event, class Destination, typename Tag, class TransitionContext, void(TransitionContext::*)(const Event &) pTransitionAction>
class smacc2::Transition< Event, Destination, Tag, TransitionContext, pTransitionAction >

Definition at line 31 of file smacc_transition.hpp.

Member Typedef Documentation

◆ TRANSITION_TAG

template<class Event , class Destination , typename Tag , class TransitionContext , void(TransitionContext::*)(const Event &) pTransitionAction>
typedef Tag smacc2::Transition< Event, Destination, Tag, TransitionContext, pTransitionAction >::TRANSITION_TAG

Definition at line 34 of file smacc_transition.hpp.

Member Function Documentation

◆ react()

template<class Event , class Destination , typename Tag , class TransitionContext , void(TransitionContext::*)(const Event &) pTransitionAction>
template<class State , class EventBase , class IdType >
static boost::statechart::detail::reaction_result smacc2::Transition< Event, Destination, Tag, TransitionContext, pTransitionAction >::react ( State &  stt,
const EventBase &  evt,
const IdType &  eventType 
)
inlinestatic

Definition at line 71 of file smacc_transition.hpp.

73 {
74 typedef boost::statechart::detail::reaction_dispatcher<
75 reactions<State>, State, EventBase, Event, TransitionContext, IdType>
76 dispatcher;
77 return dispatcher::react(stt, evt, eventType);
78 }

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