Catos Engine (Source) 0.0.1
Lightweight Game engine
|
MethodInvoker invokes the method (with args) given at creation. More...
#include <registry.h>
Public Member Functions | |
MethodInvoker (ReturnType(ClassType::*ptr)(Args...)) | |
Static Public Member Functions | |
static ReturnType | callFunction (void *FuncInst, void *instance, Args... args) |
Runs the function. | |
Public Attributes | |
ReturnType(ClassType::* | memPtr )(Args...) |
MethodInvoker invokes the method (with args) given at creation.
|
inline |
|
inlinestatic |
Runs the function.
ReturnType(ClassType::* catos::MethodInvoker< ReturnType, ClassType, Args >::memPtr) (Args...) |