SMACC2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
smacc2::AddTEventTypeStateReactorInfo< TEventList > Struct Template Reference

#include <smacc_state_impl.hpp>

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

Public Member Functions

 AddTEventTypeStateReactorInfo (smacc2::SmaccStateReactorInfo *srInfo)
 
template<typename T >
void operator() (T)
 

Public Attributes

smacc2::SmaccStateReactorInfosrInfo_
 

Detailed Description

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

Definition at line 126 of file smacc_state_impl.hpp.

Constructor & Destructor Documentation

◆ AddTEventTypeStateReactorInfo()

template<typename TEventList >
smacc2::AddTEventTypeStateReactorInfo< TEventList >::AddTEventTypeStateReactorInfo ( smacc2::SmaccStateReactorInfo srInfo)
inline

Definition at line 129 of file smacc_state_impl.hpp.

129: srInfo_(srInfo) {}
smacc2::SmaccStateReactorInfo * srInfo_

Member Function Documentation

◆ operator()()

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

Definition at line 132 of file smacc_state_impl.hpp.

133 {
134 auto evinfo = std::make_shared<SmaccEventInfo>(TypeInfo::getTypeInfoFromType<T>());
135 srInfo_->sourceEventTypes.push_back(evinfo);
136 EventLabel<T>(evinfo->label);
137 }
std::vector< std::shared_ptr< SmaccEventInfo > > sourceEventTypes

References smacc2::introspection::SmaccStateReactorInfo::sourceEventTypes, and smacc2::AddTEventTypeStateReactorInfo< TEventList >::srInfo_.

Member Data Documentation

◆ srInfo_

template<typename TEventList >
smacc2::SmaccStateReactorInfo* smacc2::AddTEventTypeStateReactorInfo< TEventList >::srInfo_

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