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

#include <smacc_state_machine_info.h>

Collaboration diagram for smacc::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 74 of file smacc_state_machine_info.h.

Constructor & Destructor Documentation

◆ AddTransition()

smacc::introspection::AddTransition::AddTransition ( std::shared_ptr< SmaccStateInfo > &  currentState)
inline

Definition at line 78 of file smacc_state_machine_info.h.

79 : currentState_(currentState)
80 {
81 }
std::shared_ptr< SmaccStateInfo > & currentState_

Member Function Documentation

◆ operator()() [1/4]

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

◆ operator()() [2/4]

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

Definition at line 314 of file smacc_state_machine_info.h.

315{
316 using type_t = typename TTrans::type;
317 processTransitions<type_t>(currentState_);
318}

References currentState_.

◆ operator()() [3/4]

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

Definition at line 308 of file smacc_state_machine_info.h.

309{
310 processTransitions<TTransition<EvType<TevSource>, DestinyState>>(currentState_);
311}

References currentState_.

◆ operator()() [4/4]

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

Definition at line 300 of file smacc_state_machine_info.h.

301{
302 processTransitions<TTransition<EvType<TevSource>, DestinyState, Tag>>(currentState_);
303}

References currentState_.

Member Data Documentation

◆ currentState_

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

Definition at line 76 of file smacc_state_machine_info.h.

Referenced by operator()().


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