tsm  0.1.0
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tsm::ClockedHsm< T, Policy > Struct Template Reference

#include <tsm_impl.h>

Inheritance diagram for tsm::ClockedHsm< T, Policy >:
Inheritance graph
Collaboration diagram for tsm::ClockedHsm< T, Policy >:
Collaboration graph

Public Types

using type = ClockedHsm< T, Policy >
 
using HsmType = typename Policy< T >::type
 

Public Member Functions

bool tick ()
 
template<typename Event >
bool handle (Event e=Event())
 
bool handle (ClockTickEvent &e)
 

Public Attributes

ClockTickEvent tick_event_ {}
 

Static Public Attributes

constexpr static bool is_clocked_hsm = true
 

Member Typedef Documentation

◆ HsmType

template<typename T , template< typename > class Policy = make_hsm_t>
using tsm::ClockedHsm< T, Policy >::HsmType = typename Policy<T>::type

◆ type

template<typename T , template< typename > class Policy = make_hsm_t>
using tsm::ClockedHsm< T, Policy >::type = ClockedHsm<T, Policy>

Member Function Documentation

◆ handle() [1/2]

template<typename T , template< typename > class Policy = make_hsm_t>
bool tsm::ClockedHsm< T, Policy >::handle ( ClockTickEvent e)
inline

◆ handle() [2/2]

template<typename T , template< typename > class Policy = make_hsm_t>
template<typename Event >
bool tsm::ClockedHsm< T, Policy >::handle ( Event  e = Event())
inline

◆ tick()

template<typename T , template< typename > class Policy = make_hsm_t>
bool tsm::ClockedHsm< T, Policy >::tick ( )
inline

Member Data Documentation

◆ is_clocked_hsm

template<typename T , template< typename > class Policy = make_hsm_t>
constexpr static bool tsm::ClockedHsm< T, Policy >::is_clocked_hsm = true
staticconstexpr

◆ tick_event_

template<typename T , template< typename > class Policy = make_hsm_t>
ClockTickEvent tsm::ClockedHsm< T, Policy >::tick_event_ {}

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