Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
Service Class Reference

Collection of related state machines that pend on incoming messages. More...

#include <Service.hxx>

Inheritance diagram for Service:
Console DirectHubService FdHubPortService openlcb::DatagramService openlcb::EventService openlcb::If openlcb::TractionProxyService openlcb::TrainService openmrn_arduino::Esp32WiFiManager withrottle::Server

Public Member Functions

 Service (ExecutorBase *e)
 Constructor.
 
 ~Service ()
 Destructor.
 
ExecutorBaseexecutor ()
 

Private Attributes

ExecutorBaseexecutor_
 Executor to use.
 

Detailed Description

Collection of related state machines that pend on incoming messages.

Definition at line 42 of file executor/Service.hxx.

Constructor & Destructor Documentation

◆ Service()

Service::Service ( ExecutorBase e)

Constructor.

Parameters
eExecutor to run this service from.

Definition at line 39 of file Service.cxx.

◆ ~Service()

Service::~Service ( )
inline

Destructor.

Definition at line 51 of file executor/Service.hxx.

Member Function Documentation

◆ executor()

ExecutorBase * Service::executor ( )
inline
Returns
the executor used by this service.

Definition at line 56 of file executor/Service.hxx.

Member Data Documentation

◆ executor_

ExecutorBase* Service::executor_
private

Executor to use.

Definition at line 63 of file executor/Service.hxx.


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