|
#include <ArmarXCore/core/ArmarXMultipleObjectsScheduler.h>
Public Types | |
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... | |
Public Member Functions | |
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... | |
Definition at line 35 of file ArmarXMultipleObjectsScheduler.h.
typedef void(T::* method_type(void) |
Typedef for the thread method.
Thread methods need to follow the template void methodName(void). Parameter passing is not used since methods are members of the class.
Definition at line 173 of file RunningTask.h.
using pointer_type = IceUtil::Handle<RunningTask<T> > |
Shared pointer type for convenience.
Definition at line 178 of file RunningTask.h.
|
inline |
Constructs a running task within the class parent which calls the runningFn
in a new thread.
name | of this thread, that describes what it is doing. If string is empty, it will use the name of the class with RTTI |
Definition at line 187 of file RunningTask.h.