10#ifndef SEMF_SYSTEM_TIMEBASE_H_
11#define SEMF_SYSTEM_TIMEBASE_H_
79 SEMF_SLOT(m_countSlot,
TimeBase, *
this, count);
LinkedList is an managed double linked list implementation.
Interface for all classes receiving ticks like DigitalInPolling or SoftwareTimer.
A TimeBase is the bridge between e.g. a hardware timer (interrupt service routine) and TickReceiver o...
TimeBase(const TimeBase &other)=delete
void enable(bool enable=true) override
Enables the TimeBase.
void remove(TickReceiver &tickReceiver) override
Removes e.g. a timer from this TimeBase.
TimeBase(app::Timer &timer, bool enable=false)
Constructor.
void disable(bool disable=true) override
Disables the TimeBase.
void add(TickReceiver &tickReceiver) override
Adds e.g. a timer to this TimeBase.
bool isEnabled() const override
Returns if the TimeBase is enabled.
A TimeBase is the bridge between e.g. a hardware timer (interrupt service routine) and TickReceiver o...
virtual ~TimeBase()=default
Class for using timer hardware.