Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
Schedule::Recurring::Registry Struct Reference

registry of recurring calls More...

#include <timed.h>

Inherits Schedule::Registry.

Inherited by Kernel.

Collaboration diagram for Schedule::Recurring::Registry:
[legend]

Public Member Functions

void every (uint32_t dt_ms, typename Func::Call func)
 register a function to be called every dt_ms
 
template<typename T >
void every (uint32_t dt_ms, T &base, typename Method< T >::Call method)
 register a method to be called every dt_ms
 
void reset ()
 reset calling times of all registered functions
 

Detailed Description

registry of recurring calls

Member Function Documentation

◆ reset()

void Schedule::Recurring::Registry::reset ( )
inline

reset calling times of all registered functions

this may be necessary when 'global time' jumps backwards e.g. when 'global time' is actually 'experiment time' and the experiment is restarted


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