Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::EventService::Impl Class Reference

PImpl class for the EventService. More...

#include <EventServiceImpl.hxx>

Public Types

enum  {
  MTI_VALUE_EVENT = Defs::MTI_EVENT_MASK , MTI_MASK_EVENT = Defs::MTI_EVENT_MASK , MTI_VALUE_GLOBAL = Defs::MTI_EVENTS_IDENTIFY_GLOBAL , MTI_MASK_GLOBAL = 0xffff ,
  MTI_VALUE_ADDRESSED_ALL = Defs::MTI_EVENTS_IDENTIFY_ADDRESSED , MTI_MASK_ADDRESSED_ALL = 0xffff
}
 

Public Member Functions

 Impl (EventService *service)
 

Public Attributes

std::unique_ptr< EventRegistryregistry
 The implementation of the event registry.
 
std::vector< std::unique_ptr< StateFlowWithQueue > > ownedFlows_
 Flows that we own.
 
EventCallerFlow callerFlow_
 This flow will serialize calls to NMRAnetEventHandler objects.
 

Detailed Description

PImpl class for the EventService.

This class creates and owns all components necessary to the correct operation of the EventService but does not need to appear on the application-facing API.

Definition at line 93 of file EventServiceImpl.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 110 of file EventServiceImpl.hxx.

Constructor & Destructor Documentation

◆ Impl()

openlcb::EventService::Impl::Impl ( EventService service)

Definition at line 57 of file EventService.cxx.

◆ ~Impl()

openlcb::EventService::Impl::~Impl ( )

Definition at line 66 of file EventService.cxx.

Member Data Documentation

◆ callerFlow_

EventCallerFlow openlcb::EventService::Impl::callerFlow_

This flow will serialize calls to NMRAnetEventHandler objects.

All such calls need to be sent to this flow.

Definition at line 108 of file EventServiceImpl.hxx.

◆ ownedFlows_

std::vector<std::unique_ptr<StateFlowWithQueue> > openlcb::EventService::Impl::ownedFlows_

Flows that we own.

There will be a few entries for each interface registered.

Definition at line 104 of file EventServiceImpl.hxx.

◆ registry

std::unique_ptr<EventRegistry> openlcb::EventService::Impl::registry

The implementation of the event registry.

Definition at line 100 of file EventServiceImpl.hxx.


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