Stores a function pointer for running it.
More...
#include <registry.h>
|
template<typename ReturnType , class ClassType , typename... Args> |
| Method (ReturnType(ClassType::*method)(Args...)) |
|
| ~Method () |
|
template<typename R , typename... Args> |
R | invoke_function (void *instance, Args... args) |
|
template<typename... Args> |
void | invoke_function (void *instance, Args... args) |
|
void | registerToPy (const char *name) |
|
Stores a function pointer for running it.
◆ Method()
template<typename ReturnType , class ClassType , typename... Args>
catos::Method::Method |
( |
ReturnType(ClassType::*)(Args...) | method | ) |
|
|
inline |
◆ ~Method()
catos::Method::~Method |
( |
| ) |
|
|
inline |
◆ invoke_function() [1/2]
template<typename R , typename... Args>
R catos::Method::invoke_function |
( |
void * | instance, |
|
|
Args... | args ) |
|
inline |
◆ invoke_function() [2/2]
template<typename... Args>
void catos::Method::invoke_function |
( |
void * | instance, |
|
|
Args... | args ) |
|
inline |
◆ registerToPy()
void catos::Method::registerToPy |
( |
const char * | name | ) |
|
|
inline |
◆ desc
cstr catos::Method::desc = "NONE" |
◆ parameterNames
std::string catos::Method::parameterNames |
◆ parameters
std::string catos::Method::parameters |
◆ returnName
std::string catos::Method::returnName = "void" |
The documentation for this class was generated from the following file: