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

#include <smacc_state_info.h>

Collaboration diagram for smacc::introspection::EventGeneratorHandler:
Collaboration graph

Public Member Functions

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

Public Attributes

std::shared_ptr< smacc::introspection::SmaccEventGeneratorInfoegInfo_
 

Private Attributes

std::vector< EventGeneratorCallbackFunctorcallbacks_
 

Detailed Description

Definition at line 102 of file smacc_state_info.h.

Member Function Documentation

◆ configureEventGenerator()

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

Definition at line 54 of file state_reactor.cpp.

55{
56 for (auto callback : this->callbacks_)
57 {
58 callback.fn(eg);
59 }
60}
std::vector< EventGeneratorCallbackFunctor > callbacks_

References callbacks_.

◆ setOutputEvent()

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

Member Data Documentation

◆ callbacks_

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

Definition at line 105 of file smacc_state_info.h.

Referenced by configureEventGenerator().

◆ egInfo_

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

Definition at line 113 of file smacc_state_info.h.


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