SMACC2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Attributes | List of all members
smacc2::introspection::EventGeneratorHandler Class Reference

#include <smacc_state_info.hpp>

Collaboration diagram for smacc2::introspection::EventGeneratorHandler:
Collaboration graph

Public Member Functions

void configureEventGenerator (std::shared_ptr< smacc2::SmaccEventGenerator > eg)
 
template<typename TEv >
void setOutputEvent ()
 

Public Attributes

std::shared_ptr< smacc2::introspection::SmaccEventGeneratorInfoegInfo_
 

Private Attributes

std::vector< EventGeneratorCallbackFunctorcallbacks_
 

Detailed Description

Definition at line 127 of file smacc_state_info.hpp.

Member Function Documentation

◆ configureEventGenerator()

void smacc2::introspection::EventGeneratorHandler::configureEventGenerator ( std::shared_ptr< smacc2::SmaccEventGenerator eg)

Definition at line 70 of file state_reactor.cpp.

71{
72 for (auto callback : this->callbacks_)
73 {
74 callback.fn(eg);
75 }
76}
std::vector< EventGeneratorCallbackFunctor > callbacks_

References callbacks_.

◆ setOutputEvent()

template<typename TEv >
void smacc2::introspection::EventGeneratorHandler::setOutputEvent ( )

Member Data Documentation

◆ callbacks_

std::vector<EventGeneratorCallbackFunctor> smacc2::introspection::EventGeneratorHandler::callbacks_
private

Definition at line 130 of file smacc_state_info.hpp.

Referenced by configureEventGenerator().

◆ egInfo_

std::shared_ptr<smacc2::introspection::SmaccEventGeneratorInfo> smacc2::introspection::EventGeneratorHandler::egInfo_

Definition at line 138 of file smacc_state_info.hpp.


The documentation for this class was generated from the following files: