SMACC2
Loading...
Searching...
No Matches
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 143 of file smacc_state_impl.hpp.

Constructor & Destructor Documentation

◆ AddTEventTypeStateReactor()

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

Definition at line 146 of file smacc_state_impl.hpp.

146: sr_(sr) {}

Member Function Documentation

◆ operator()()

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

Definition at line 149 of file smacc_state_impl.hpp.

150 {
151 sr_->addInputEvent<T>();
152 }

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: