Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
Use a function as a job. More...
#include <TMethodJob.h>
Public Member Functions | |
TMethodJob (T *object, void(T::*method)(void *), void *arg=nullptr) | |
run() invokes object->method(arg) | |
~TMethodJob () override=default | |
void | run () override |
Run the job. | |
Public Member Functions inherited from IInterface | |
virtual | ~IInterface ()=default |
Interface destructor does nothing. |
Use a function as a job.
A job class that invokes a member function.
|
inline |
run() invokes object->method(arg)
|
overridedefault |
|
inlineoverridevirtual |
Run the job.
Implements IJob.