SMACC2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
smacc2::introspection::AddTransition Struct Reference

#include <smacc_state_machine_info.hpp>

Collaboration diagram for smacc2::introspection::AddTransition:
Collaboration graph

Public Member Functions

 AddTransition (std::shared_ptr< SmaccStateInfo > &currentState)
 
template<template< typename, typename, typename > typename TTransition, typename TevSource , template< typename > typename EvType, typename Tag , typename DestinyState >
void operator() (TTransition< EvType< TevSource >, DestinyState, Tag >)
 
template<template< typename, typename > typename TTransition, typename TevSource , template< typename > typename EvType, typename DestinyState >
void operator() (TTransition< EvType< TevSource >, DestinyState >)
 
template<typename T >
void operator() (T)
 
template<typename TTrans >
void operator() (TTrans)
 

Public Attributes

std::shared_ptr< SmaccStateInfo > & currentState_
 

Detailed Description

Definition at line 100 of file smacc_state_machine_info.hpp.

Constructor & Destructor Documentation

◆ AddTransition()

smacc2::introspection::AddTransition::AddTransition ( std::shared_ptr< SmaccStateInfo > &  currentState)
inlineexplicit

Definition at line 104 of file smacc_state_machine_info.hpp.

105 : currentState_(currentState)
106 {
107 }
std::shared_ptr< SmaccStateInfo > & currentState_

Member Function Documentation

◆ operator()() [1/4]

template<typename T >
void smacc2::introspection::AddTransition::operator() ( )

◆ operator()() [2/4]

template<typename TTrans >
void smacc2::introspection::AddTransition::operator() ( TTrans  )

Definition at line 413 of file smacc_state_machine_info.hpp.

414{
415 using type_t = typename TTrans::type;
416 processTransitions<type_t>(currentState_);
417}

References currentState_.

◆ operator()() [3/4]

template<template< typename, typename > typename TTransition, typename TevSource , template< typename > typename EvType, typename DestinyState >
void smacc2::introspection::AddTransition::operator() ( TTransition< EvType< TevSource >, DestinyState >  )

Definition at line 407 of file smacc_state_machine_info.hpp.

408{
409 processTransitions<TTransition<EvType<TevSource>, DestinyState>>(currentState_);
410}

References currentState_.

◆ operator()() [4/4]

template<template< typename, typename, typename > typename TTransition, typename TevSource , template< typename > typename EvType, typename Tag , typename DestinyState >
void smacc2::introspection::AddTransition::operator() ( TTransition< EvType< TevSource >, DestinyState, Tag >  )

Definition at line 397 of file smacc_state_machine_info.hpp.

398{
399 processTransitions<TTransition<EvType<TevSource>, DestinyState, Tag>>(currentState_);
400}

References currentState_.

Member Data Documentation

◆ currentState_

std::shared_ptr<SmaccStateInfo>& smacc2::introspection::AddTransition::currentState_

Definition at line 102 of file smacc_state_machine_info.hpp.

Referenced by operator()().


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