tsm 0.1.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
tsm::detail::Transition< From, Event, To, Action, Guard > Struct Template Reference

#include <tsm.h>

Inheritance diagram for tsm::detail::Transition< From, Event, To, Action, Guard >:
Inheritance graph
Collaboration diagram for tsm::detail::Transition< From, Event, To, Action, Guard >:
Collaboration graph

Public Types

using action_t = decltype(Action)
 
using guard_t = decltype(Guard)
 
- Public Types inherited from tsm::detail::BaseTransition< From, Event, To >
using from = From
 
using event = Event
 
using to = To
 

Public Member Functions

 Transition ()=default
 
 ~Transition ()=default
 

Static Public Attributes

static constexpr action_t action = Action
 
static constexpr guard_t guard = Guard
 

Member Typedef Documentation

◆ action_t

template<typename From , typename Event , typename To , auto Action = []() {}, auto Guard = []() { return true; }>
using tsm::detail::Transition< From, Event, To, Action, Guard >::action_t = decltype(Action)

◆ guard_t

template<typename From , typename Event , typename To , auto Action = []() {}, auto Guard = []() { return true; }>
using tsm::detail::Transition< From, Event, To, Action, Guard >::guard_t = decltype(Guard)

Constructor & Destructor Documentation

◆ Transition()

template<typename From , typename Event , typename To , auto Action = []() {}, auto Guard = []() { return true; }>
tsm::detail::Transition< From, Event, To, Action, Guard >::Transition ( )
default

◆ ~Transition()

template<typename From , typename Event , typename To , auto Action = []() {}, auto Guard = []() { return true; }>
tsm::detail::Transition< From, Event, To, Action, Guard >::~Transition ( )
default

Member Data Documentation

◆ action

template<typename From , typename Event , typename To , auto Action = []() {}, auto Guard = []() { return true; }>
constexpr action_t tsm::detail::Transition< From, Event, To, Action, Guard >::action = Action
staticconstexpr

◆ guard

template<typename From , typename Event , typename To , auto Action = []() {}, auto Guard = []() { return true; }>
constexpr guard_t tsm::detail::Transition< From, Event, To, Action, Guard >::guard = Guard
staticconstexpr

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