Dataflow Runtime API  4.0.1.0
Public Member Functions | List of all members
imt::base::dff::runtime::TimerServiceIfc Class Referenceabstract

Interface to start timer. More...

#include <Imt.Base.Dff.ActiveParts/TimerServiceIfc.h>

Inheritance diagram for imt::base::dff::runtime::TimerServiceIfc:
imt::base::dff::activeparts::ActivePartAbs imt::base::dff::activeparts::test::TestLoggerAP

Public Member Functions

virtual ~TimerServiceIfc ()
 Destructor. More...
 
virtual void startOneShotTimer (RuntimeTimer::TimerHandle &timerToStart, uint32_t const timerTicksMs) const =0
 Starts or restarts the given one shot timer for this ActivePart. More...
 
virtual void startPeriodicTimer (RuntimeTimer::TimerHandle &timerToStart, uint32_t const intervalMs) const =0
 Start a periodic timer for this ActivePart. More...
 
virtual void killTimer (RuntimeTimer::TimerHandle &timerToKill) const =0
 Kill an existing timer. More...
 

Detailed Description

Interface to start timer.

Note
The executable has to be registered in RuntimeCore::create in order to receive events.

Constructor & Destructor Documentation

◆ ~TimerServiceIfc()

virtual imt::base::dff::runtime::TimerServiceIfc::~TimerServiceIfc ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ killTimer()

virtual void imt::base::dff::runtime::TimerServiceIfc::killTimer ( RuntimeTimer::TimerHandle timerToKill) const
pure virtual

Kill an existing timer.

In case the timer is not active anymore, the timerHandle will be set to invalid.

Parameters
timerToKillHandle of the timer to be killed.

◆ startOneShotTimer()

virtual void imt::base::dff::runtime::TimerServiceIfc::startOneShotTimer ( RuntimeTimer::TimerHandle timerToStart,
uint32_t const  timerTicksMs 
) const
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.

Parameters
timerToStartTimer to be started.
timerTicksMsTimeout in milliseconds (has to be > 0).

◆ startPeriodicTimer()

virtual void imt::base::dff::runtime::TimerServiceIfc::startPeriodicTimer ( RuntimeTimer::TimerHandle timerToStart,
uint32_t const  intervalMs 
) const
pure virtual

Start a periodic timer for this ActivePart.

In case of invalid parameters, an invalid time handle is returned.

Parameters
timerToStartTimer to be started.
intervalMsTimer period in milliseconds.

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