![]() |
Deskflow 1.24.0.365
Keyboard and mouse sharing utility
|
Use a function as a job. More...
#include <FunctionJob.h>


Public Member Functions | |
| FunctionJob (void(*func)(void *), void *arg=nullptr) | |
run() invokes func(arg) | |
| ~FunctionJob () override=default | |
| void | run () override |
| Run the job. | |
| Public Member Functions inherited from IJob | |
| virtual | ~IJob ()=default |
Use a function as a job.
A job class that invokes a function.
|
explicit |
run() invokes func(arg)
|
overridedefault |
|
overridevirtual |
Run the job.
Implements IJob.