|
Minecraft Community Edition 0.1.0
|
Adapter that wraps a member function with arbitrary arguments. More...
#include <Thread.hpp>
Public Member Functions | |
| ThreadMemberFunctorWithArgs (void(C::*function)(Args...), C *object, Args &&... args) | |
| Construct with member function pointer, target object and arguments. | |
| virtual void | run () override |
| Invoke the stored member function forwarding the stored arguments. | |
| Public Member Functions inherited from mce::ThreadFunc | |
| virtual | ~ThreadFunc () |
| Virtual destructor to allow safe deletion via base pointer. | |
Adapter that wraps a member function with arbitrary arguments.
| C | Class type that owns the member function. |
| Args | Types of the arguments to forward when invoking the member function. |
|
inline |
|
inlineoverridevirtual |
Invoke the stored member function forwarding the stored arguments.
Implements mce::ThreadFunc.