SMACC
Loading...
Searching...
No Matches
Classes | Public Types | Static Public Member Functions | List of all members
smacc::Transition< Event, Destination, Tag, TransitionContext, pTransitionAction > Class Template Reference

#include <smacc_transition.h>

Collaboration diagram for smacc::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 smacc::Transition< Event, Destination, Tag, TransitionContext, pTransitionAction >

Definition at line 20 of file smacc_transition.h.

Member Typedef Documentation

◆ TRANSITION_TAG

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

Definition at line 23 of file smacc_transition.h.

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 smacc::Transition< Event, Destination, Tag, TransitionContext, pTransitionAction >::react ( State &  stt,
const EventBase &  evt,
const IdType &  eventType 
)
inlinestatic

Definition at line 58 of file smacc_transition.h.

60 {
61 typedef boost::statechart::detail::reaction_dispatcher<
62 reactions<State>, State, EventBase, Event, TransitionContext, IdType>
63 dispatcher;
64 return dispatcher::react(stt, evt, eventType);
65 }

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