tsm  0.1.0
Public Types | Public Member Functions | List of all members
tsm::SingleThreadedExecutionPolicy< Context, Policy > Struct Template Reference

#include <tsm_impl.h>

Inheritance diagram for tsm::SingleThreadedExecutionPolicy< Context, Policy >:
Inheritance graph
Collaboration diagram for tsm::SingleThreadedExecutionPolicy< Context, Policy >:
Collaboration graph

Public Types

using type = SingleThreadedExecutionPolicy< Context, Policy >
 
using HsmType = typename Policy< Context >::type
 
using Event = tuple_to_variant_t< get_events_t< HsmType > >
 

Public Member Functions

bool step ()
 
void send_event (Event &&event)
 

Member Typedef Documentation

◆ Event

template<typename Context , template< typename > class Policy = make_hsm_t>
using tsm::SingleThreadedExecutionPolicy< Context, Policy >::Event = tuple_to_variant_t<get_events_t<HsmType> >

◆ HsmType

template<typename Context , template< typename > class Policy = make_hsm_t>
using tsm::SingleThreadedExecutionPolicy< Context, Policy >::HsmType = typename Policy<Context>::type

◆ type

template<typename Context , template< typename > class Policy = make_hsm_t>
using tsm::SingleThreadedExecutionPolicy< Context, Policy >::type = SingleThreadedExecutionPolicy<Context, Policy>

Member Function Documentation

◆ send_event()

template<typename Context , template< typename > class Policy = make_hsm_t>
void tsm::SingleThreadedExecutionPolicy< Context, Policy >::send_event ( Event &&  event)
inline

◆ step()

template<typename Context , template< typename > class Policy = make_hsm_t>
bool tsm::SingleThreadedExecutionPolicy< Context, Policy >::step ( )
inline

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