![]()  | 
  
    Imt.Base C++ API V4.1.1.0
    
   | 
 
A periodic timer to be used in an active part. More...
#include <Imt.Base.Dff.ActiveParts/inc/Imt.Base.Dff.ActiveParts/PeriodicTimer.h>
  
Public Member Functions | |
| PeriodicTimer (::imt::base::dff::runtime::TimerServiceIfc &timer, uint32_t const intervalMs) | |
| Constructor.   | |
| void | startTimer () | 
| Start the periodic timer.   | |
| void | stop () | 
| Stop the periodic timer.   | |
| bool | isRunning () const | 
| Check if the timer is running.   | |
| ::imt::base::dff::runtime::RuntimeTimer::TimerHandle | getTimerId () const | 
| Get the handle to identify the timer.   | |
A periodic timer to be used in an active part.
The timer triggers everytime the given delay in milliseconds has elapsed.
Definition at line 52 of file PeriodicTimer.h.
| imt::base::dff::activeparts::PeriodicTimer::PeriodicTimer | ( | ::imt::base::dff::runtime::TimerServiceIfc & | timer, | 
| uint32_t const | intervalMs | ||
| ) | 
Constructor.
| timer | The activepart's timer interface. | 
| intervalMs | The specified interval value in milliseconds. | 
| ::imt::base::dff::runtime::RuntimeTimer::TimerHandle imt::base::dff::activeparts::PeriodicTimer::getTimerId | ( | ) | const | 
Get the handle to identify the timer.
| bool imt::base::dff::activeparts::PeriodicTimer::isRunning | ( | ) | const | 
Check if the timer is running.
| void imt::base::dff::activeparts::PeriodicTimer::startTimer | ( | ) | 
Start the periodic timer.
| void imt::base::dff::activeparts::PeriodicTimer::stop | ( | ) | 
Stop the periodic timer.