Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
corium::fsm::ActionList< Actions > Struct Template Reference

Sequential composition of multiple transition actions. More...

#include <Transition.hpp>

+ Collaboration diagram for corium::fsm::ActionList< Actions >:

Public Member Functions

constexpr ActionList ()=default
 
constexpr ActionList (Actions... a)
 
template<typename From , typename Event , typename To >
constexpr void operator() (From &from, const Event &event, To &to) const
 

Public Attributes

std::tuple< Actions... > actions {}
 

Detailed Description

template<typename... Actions>
struct corium::fsm::ActionList< Actions >

Sequential composition of multiple transition actions.

Constructor & Destructor Documentation

◆ ActionList() [1/2]

template<typename... Actions>
constexpr corium::fsm::ActionList< Actions >::ActionList ( )
constexprdefault

◆ ActionList() [2/2]

template<typename... Actions>
constexpr corium::fsm::ActionList< Actions >::ActionList ( Actions...  a)
inlineexplicitconstexpr

Member Function Documentation

◆ operator()()

template<typename... Actions>
template<typename From , typename Event , typename To >
constexpr void corium::fsm::ActionList< Actions >::operator() ( From &  from,
const Event event,
To &  to 
) const
inlineconstexpr
+ Here is the call graph for this function:

Member Data Documentation

◆ actions

template<typename... Actions>
std::tuple<Actions...> corium::fsm::ActionList< Actions >::actions {}

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