lib

Kross::Api::Function2< INSTANCE, P1, P2 > Class Template Reference

#include <function.h>

Inheritance diagram for Kross::Api::Function2< INSTANCE, P1, P2 >:
Kross::Api::Function

Public Member Functions

 Function2 (INSTANCE *instance, Method method, P1 p1, P2 p2)
Object::Ptr call (List::Ptr args)

Detailed Description

template<class INSTANCE, typename P1, typename P2>
class Kross::Api::Function2< INSTANCE, P1, P2 >

Same as Function1 but with 2 additional parameters.

Definition at line 113 of file function.h.

Constructor & Destructor Documentation

◆ Function2()

template<class INSTANCE, typename P1, typename P2>
Kross::Api::Function2< INSTANCE, P1, P2 >::Function2 ( INSTANCE * instance,
Method method,
P1 p1,
P2 p2 )
inline

Definition at line 122 of file function.h.

Member Function Documentation

◆ call()

template<class INSTANCE, typename P1, typename P2>
Object::Ptr Kross::Api::Function2< INSTANCE, P1, P2 >::call ( List::Ptr )
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 124 of file function.h.


The documentation for this class was generated from the following file: