Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::Polling Class Referenceabstract

Abstract base class for components that need repeated execution (with a specified frequency, i.e. More...

#include <RefreshLoop.hxx>

Inheritance diagram for openlcb::Polling:
openlcb::PolledProducer< QuiesceDebouncer, Impl > openlcb::ConfiguredPulseConsumer openlcb::MultiConfiguredPC openlcb::PolledProducer< Debouncer, BaseBit >

Public Member Functions

virtual void poll_33hz (WriteHelper *helper, Notifiable *done)=0
 This function will be called approximately 33 times per second by the refresh loop.
 

Detailed Description

Abstract base class for components that need repeated execution (with a specified frequency, i.e.

not a busy loop).

Definition at line 48 of file RefreshLoop.hxx.

Member Function Documentation

◆ poll_33hz()

virtual void openlcb::Polling::poll_33hz ( WriteHelper helper,
Notifiable done 
)
pure virtual

This function will be called approximately 33 times per second by the refresh loop.

It must notify done when it is finished using the writehelper.

Implemented in openlcb::ConfiguredPulseConsumer, openlcb::PolledProducer< Debouncer, BaseBit >, and openlcb::PolledProducer< QuiesceDebouncer, Impl >.


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