|
Usage: More...
#include <ArmarXCore/core/services/tasks/TaskUtil.h>
Public Member Functions | |
void | runningFn () |
SimpleRunningTask (Functor f, std::string name="") | |
Public Member Functions inherited from RunningTask< SimpleRunningTask< std::function< void(void)> > > | |
RunningTask (T *parent, method_type runningFn, const std::string &name="") | |
Constructs a running task within the class parent which calls the runningFn in a new thread. More... | |
Public Attributes | |
Functor | f |
Additional Inherited Members | |
Public Types inherited from RunningTask< SimpleRunningTask< std::function< void(void)> > > | |
typedef void(T::* | method_type) (void) |
Typedef for the thread method. More... | |
using | pointer_type = IceUtil::Handle< RunningTask< T > > |
Shared pointer type for convenience. More... | |
Usage:
SimpleRunningTask<>::pointer_type task = new SimpleRunningTask<>([&] { ARMARX_INFO << "Hello world from another thread"; }); task->start();
Definition at line 70 of file TaskUtil.h.
|
inline |
Definition at line 73 of file TaskUtil.h.
|
inline |
Definition at line 77 of file TaskUtil.h.
Functor f |
Definition at line 81 of file TaskUtil.h.