Kross::Api::ProxyFunction< INSTANCE, METHOD, RETURNOBJ, ARG1OBJ, ARG2OBJ > Class Template Reference

#include <proxy.h>

Inheritance diagram for Kross::Api::ProxyFunction< INSTANCE, METHOD, RETURNOBJ, ARG1OBJ, ARG2OBJ >:
Kross::Api::Function

Public Member Functions

 ProxyFunction (INSTANCE *instance, const METHOD &method, ARG1OBJ *defarg1=0, ARG2OBJ *defarg2=0)
 
Object::Ptr call (List::Ptr args)
 

Friends

template<class PROXYFUNC , typename RETURNTYPE >
struct ProxyFunctionCaller
 

Detailed Description

template<class INSTANCE, typename METHOD, class RETURNOBJ, class ARG1OBJ, class ARG2OBJ>
class Kross::Api::ProxyFunction< INSTANCE, METHOD, RETURNOBJ, ARG1OBJ, ARG2OBJ >

Template-specialization of the ProxyFunction above with two arguments.

Definition at line 225 of file proxy.h.

Constructor & Destructor Documentation

◆ ProxyFunction()

template<class INSTANCE , typename METHOD , class RETURNOBJ , class ARG1OBJ , class ARG2OBJ >
Kross::Api::ProxyFunction< INSTANCE, METHOD, RETURNOBJ, ARG1OBJ, ARG2OBJ >::ProxyFunction ( INSTANCE *  instance,
const METHOD &  method,
ARG1OBJ *  defarg1 = 0,
ARG2OBJ *  defarg2 = 0 
)
inline

Definition at line 253 of file proxy.h.

Member Function Documentation

◆ call()

template<class INSTANCE , typename METHOD , class RETURNOBJ , class ARG1OBJ , class ARG2OBJ >
Object::Ptr Kross::Api::ProxyFunction< INSTANCE, METHOD, RETURNOBJ, ARG1OBJ, ARG2OBJ >::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 255 of file proxy.h.

Friends And Related Symbol Documentation

◆ ProxyFunctionCaller

template<class INSTANCE , typename METHOD , class RETURNOBJ , class ARG1OBJ , class ARG2OBJ >
template<class PROXYFUNC , typename RETURNTYPE >
friend struct ProxyFunctionCaller
friend

Definition at line 228 of file proxy.h.


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