10#ifndef SEMF_APP_SYSTEM_TIMEBASE_H_
11#define SEMF_APP_SYSTEM_TIMEBASE_H_
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...
virtual ~TimeBase()=default
virtual void remove(TickReceiver &tickReceiver)=0
Removes e.g. a timer from this timebase.
virtual void add(TickReceiver &tickReceiver)=0
Adds e.g. a timer to this timebase.
virtual void enable(bool enable=true)=0
Enables the TimeBase.
virtual void disable(bool disable=true)=0
Disables the TimeBase.
virtual bool isEnabled() const =0
Returns if the TimeBase is enabled.