Interface to start timer.
More...
#include <Imt.Base.Dff.ActiveParts/TimerServiceIfc.h>
Interface to start timer.
- Note
- The executable has to be registered in RuntimeCore::create in order to receive events.
◆ ~TimerServiceIfc()
virtual imt::base::dff::runtime::TimerServiceIfc::~TimerServiceIfc |
( |
| ) |
|
|
inlinevirtual |
◆ killTimer()
Kill an existing timer.
In case the timer is not active anymore, the timerHandle will be set to invalid.
- Parameters
-
timerToKill | Handle of the timer to be killed. |
◆ startOneShotTimer()
Starts or restarts the given one shot timer for this ActivePart.
In case of invalid parameters, timerToStart is set to an invalid time handle.
- Parameters
-
timerToStart | Timer to be started. |
timerTicksMs | Timeout in milliseconds (has to be > 0). |
◆ startPeriodicTimer()
Start a periodic timer for this ActivePart.
In case of invalid parameters, an invalid time handle is returned.
- Parameters
-
timerToStart | Timer to be started. |
intervalMs | Timer period in milliseconds. |
The documentation for this class was generated from the following file: