Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::EventHandlerCall Struct Reference

Arguments structure for the EventCallerFlow. More...

#include <EventServiceImpl.hxx>

Public Member Functions

void reset (const EventRegistryEntry *entry, unsigned epoch, EventReport *rep, EventHandlerFunction fn)
 

Public Attributes

const EventRegistryEntryregistry_entry
 
EventReportrep
 
EventHandlerFunction fn
 
unsigned epoch
 

Detailed Description

Arguments structure for the EventCallerFlow.

Each such buffer sent to EventCallerFlow means calling one event handler's one specific function with a given argument.

Definition at line 56 of file EventServiceImpl.hxx.

Member Function Documentation

◆ reset()

void openlcb::EventHandlerCall::reset ( const EventRegistryEntry entry,
unsigned  epoch,
EventReport rep,
EventHandlerFunction  fn 
)
inline

Definition at line 62 of file EventServiceImpl.hxx.

Member Data Documentation

◆ epoch

unsigned openlcb::EventHandlerCall::epoch

Definition at line 61 of file EventServiceImpl.hxx.

◆ fn

EventHandlerFunction openlcb::EventHandlerCall::fn

Definition at line 60 of file EventServiceImpl.hxx.

◆ registry_entry

const EventRegistryEntry* openlcb::EventHandlerCall::registry_entry

Definition at line 58 of file EventServiceImpl.hxx.

◆ rep

EventReport* openlcb::EventHandlerCall::rep

Definition at line 59 of file EventServiceImpl.hxx.


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