Empirical
Public Member Functions | Public Attributes | List of all members
emp::EventLib< HARDWARE_T >::EventDef Struct Reference

Event definition structure. Maintains information about a type of event. More...

#include <EventLib.h>

Public Member Functions

 EventDef (const std::string &_n, fun_t _handler, const std::string &_d, const properties_t &_properties)
 
 EventDef (const EventDef &)=default
 

Public Attributes

std::string name
 
fun_t handler
 
std::string desc
 
properties_t properties
 
fun_set_t dispatch_funs
 

Detailed Description

template<typename HARDWARE_T>
struct emp::EventLib< HARDWARE_T >::EventDef

Event definition structure. Maintains information about a type of event.

Constructor & Destructor Documentation

template<typename HARDWARE_T >
emp::EventLib< HARDWARE_T >::EventDef::EventDef ( const std::string &  _n,
fun_t  _handler,
const std::string &  _d,
const properties_t _properties 
)
inline
template<typename HARDWARE_T >
emp::EventLib< HARDWARE_T >::EventDef::EventDef ( const EventDef )
default

Member Data Documentation

template<typename HARDWARE_T >
std::string emp::EventLib< HARDWARE_T >::EventDef::desc
template<typename HARDWARE_T >
fun_set_t emp::EventLib< HARDWARE_T >::EventDef::dispatch_funs
template<typename HARDWARE_T >
fun_t emp::EventLib< HARDWARE_T >::EventDef::handler
template<typename HARDWARE_T >
std::string emp::EventLib< HARDWARE_T >::EventDef::name
template<typename HARDWARE_T >
properties_t emp::EventLib< HARDWARE_T >::EventDef::properties

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