SMACC
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
smacc::AddTEventType< TEventList > Struct Template Reference

#include <smacc_state_impl.h>

Collaboration diagram for smacc::AddTEventType< TEventList >:
Collaboration graph

Public Member Functions

 AddTEventType (smacc::StateReactor *sr)
 
template<typename T >
void operator() (T)
 

Public Attributes

smacc::StateReactorsr_
 

Detailed Description

template<typename TEventList>
struct smacc::AddTEventType< TEventList >

Definition at line 128 of file smacc_state_impl.h.

Constructor & Destructor Documentation

◆ AddTEventType()

template<typename TEventList >
smacc::AddTEventType< TEventList >::AddTEventType ( smacc::StateReactor sr)
inline

Definition at line 131 of file smacc_state_impl.h.

131 : sr_(sr)
132 {
133 }
smacc::StateReactor * sr_

Member Function Documentation

◆ operator()()

template<typename TEventList >
template<typename T >
void smacc::AddTEventType< TEventList >::operator() ( )
inline

Definition at line 136 of file smacc_state_impl.h.

137 {
138 sr_->addInputEvent<T>();
139 }

References smacc::StateReactor::addInputEvent(), and smacc::AddTEventType< TEventList >::sr_.

Here is the call graph for this function:

Member Data Documentation

◆ sr_

template<typename TEventList >
smacc::StateReactor* smacc::AddTEventType< TEventList >::sr_

Definition at line 130 of file smacc_state_impl.h.

Referenced by smacc::AddTEventType< TEventList >::operator()().


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