MIRA
|
Runnable that wraps any function pointer. More...
#include <fw/Runnable.h>
Public Member Functions | |
FunctionRunnable (F &&fn, DiagnosticsModulePtr module=NULL) | |
virtual void | run (DispatcherThread *dispatcher) |
Called from dispatcher thread this runnable is attached to, whenever the runnable should be executed. More... | |
void | setDiagnosticsModule (DiagnosticsModulePtr module) |
DiagnosticsModulePtr | getDiagnosticsModule () |
Public Attributes | |
F | function |
Protected Attributes | |
DiagnosticsModulePtr | mDiagnosticsModule |
Runnable that wraps any function pointer.
|
inline |
|
inlinevirtual |
Called from dispatcher thread this runnable is attached to, whenever the runnable should be executed.
Implements IRunnable.
|
inlineinherited |
|
inlineinherited |
F function |
|
protectedinherited |