Go to the documentation of this file.
6#ifndef TASKMANAGERIO_EXECWITHPARAMETER_H
7#define TASKMANAGERIO_EXECWITHPARAMETER_H
29 void (*fnParam)(TParam);
37 ExecWithParameter(
void (*fn)(TParam), TParam storedParam) : fnParam(fn), param(storedParam){}
54 void (*fnParam)(TParam1, TParam2);
65 fnParam(fn), param1(storedParam1), param2(storedParam2) {}
69 fnParam(param1, param2);
This class represents the core tasks that are added to task manager, and the TimerTask object itself.
Definition ExecWithParameter.h:52
ExecWith2Parameters(void(*fn)(TParam1, TParam2), TParam1 storedParam1, TParam2 storedParam2)
Definition ExecWithParameter.h:64
void exec() override
Definition ExecWithParameter.h:68
Definition ExecWithParameter.h:27
ExecWithParameter(void(*fn)(TParam), TParam storedParam)
Definition ExecWithParameter.h:37
void exec() override
Definition ExecWithParameter.h:40
Definition TaskTypes.h:28