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 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 224 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 252 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 254 of file proxy.h.

◆ ProxyFunctionCaller

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

Definition at line 227 of file proxy.h.


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