SMACC2
Public Member Functions | Public Attributes | List of all members
smacc2::AddTEventTypeStateReactor< TEventList > Struct Template Reference

#include <smacc_state_impl.hpp>

Collaboration diagram for smacc2::AddTEventTypeStateReactor< TEventList >:
Collaboration graph

Public Member Functions

 AddTEventTypeStateReactor (smacc2::StateReactor *sr)
 
template<typename T >
void operator() (T)
 

Public Attributes

smacc2::StateReactorsr_
 

Detailed Description

template<typename TEventList>
struct smacc2::AddTEventTypeStateReactor< TEventList >

Definition at line 141 of file smacc_state_impl.hpp.

Constructor & Destructor Documentation

◆ AddTEventTypeStateReactor()

template<typename TEventList >
smacc2::AddTEventTypeStateReactor< TEventList >::AddTEventTypeStateReactor ( smacc2::StateReactor sr)
inline

Definition at line 144 of file smacc_state_impl.hpp.

144: sr_(sr) {}

Member Function Documentation

◆ operator()()

template<typename TEventList >
template<typename T >
void smacc2::AddTEventTypeStateReactor< TEventList >::operator() ( T  )
inline

Definition at line 147 of file smacc_state_impl.hpp.

148 {
149 sr_->addInputEvent<T>();
150 }

References smacc2::StateReactor::addInputEvent(), and smacc2::AddTEventTypeStateReactor< TEventList >::sr_.

Here is the call graph for this function:

Member Data Documentation

◆ sr_

template<typename TEventList >
smacc2::StateReactor* smacc2::AddTEventTypeStateReactor< TEventList >::sr_

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