Dataflow Runtime API  3.1.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::am3354::I2CTransactionHandlerAP imt::base::dff::activeparts::stm32f103hd::i2c::I2CTransactionHandlerAP imt::base::dff::activeparts::test::TestLoggerAP

Public Member Functions

virtual ~TimerServiceIfc (void)
 Destructor. More...
 
virtual void startOneShotTimer (RuntimeTimer::TimerHandle &timerToStart, const uint32_t timerTicksMs) const =0
 Starts or restarts the given one shot timer for this ActivePart. More...
 
virtual void startPeriodicTimer (RuntimeTimer::TimerHandle &timerToStart, const uint32_t 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 ( void  )
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.

Implemented in imt::base::dff::activeparts::ActivePartAbs.

◆ startOneShotTimer()

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

Implemented in imt::base::dff::activeparts::ActivePartAbs.

◆ startPeriodicTimer()

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

Implemented in imt::base::dff::activeparts::ActivePartAbs.


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