![]() |
Imt.Base C++ API V4.1.1.0
|
Interface to start timer. More...
#include <Imt.Base.Dff.ActiveParts/inc/Imt.Base.Dff.ActiveParts/TimerServiceIfc.h>
Public Member Functions | |
| virtual RuntimeTimer::TimerHandle | startOneShotTimer (RuntimeTimer::TimerHandle timerToStart, uint32_t const timerTicksMs) const =0 |
| Starts or restarts the given one shot timer for this ActivePart. | |
| virtual RuntimeTimer::TimerHandle | startPeriodicTimer (RuntimeTimer::TimerHandle timerToStart, uint32_t const intervalMs) const =0 |
| Start a periodic timer for this ActivePart. | |
| virtual RuntimeTimer::TimerHandle | killTimer (RuntimeTimer::TimerHandle timerToKill) const =0 |
| Kill an existing timer. | |
Protected Member Functions | |
| TimerServiceIfc () noexcept=default | |
| TimerServiceIfc (TimerServiceIfc const &) noexcept=delete | |
| TimerServiceIfc (TimerServiceIfc &&) noexcept=delete | |
| ~TimerServiceIfc () noexcept=default | |
| TimerServiceIfc & | operator= (TimerServiceIfc const &) &noexcept=delete |
| TimerServiceIfc & | operator= (TimerServiceIfc &&) &noexcept=delete |
Interface to start timer.
This interface does not provide ownership on the service object.
Definition at line 52 of file TimerServiceIfc.h.
|
protecteddefaultnoexcept |
|
protecteddeletenoexcept |
|
protecteddeletenoexcept |
|
protecteddefaultnoexcept |
|
pure virtual |
Kill an existing timer.
In case the timer is not active anymore, the timerHandle will be set to invalid.
| timerToKill | Handle of the timer to be killed. |
|
protecteddeletenoexcept |
|
protecteddeletenoexcept |
|
pure virtual |
Starts or restarts the given one shot timer for this ActivePart.
In case of invalid parameters, timerToStart is set to an invalid time handle.
| timerToStart | Timer to be started. |
| timerTicksMs | Timeout in milliseconds (has to be > 0). |
|
pure virtual |
Start a periodic timer for this ActivePart.
In case of invalid parameters, an invalid time handle is returned.
| timerToStart | Timer to be started. |
| intervalMs | Timer period in milliseconds. |