Kross::Api::Function0< INSTANCE > Class Template Reference
#include <function.h>
Inheritance diagram for Kross::Api::Function0< INSTANCE >:
Public Member Functions | |
| Function0 (INSTANCE *instance, Method method) | |
| Object::Ptr | call (List::Ptr args) |
Detailed Description
template<class INSTANCE>
class Kross::Api::Function0< INSTANCE >
class Kross::Api::Function0< INSTANCE >
This class implements the most abstract way to work with functions.
It implements pointing to functions of the form
where a low-level Object got returned that represents the returnvalue of the function-call, and a List instance is passed that may contain optional Object instances as parameters.
Definition at line 58 of file function.h.
Constructor & Destructor Documentation
◆ Function0()
template<class INSTANCE>
|
inline |
Definition at line 65 of file function.h.
Member Function Documentation
◆ call()
template<class INSTANCE>
|
inlinevirtual |
Each function needs to implement the call-method which will be executed if the function itself should be executed.
Implements Kross::Api::Function.
Definition at line 67 of file function.h.
The documentation for this class was generated from the following file:
