lib

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

#include <proxy.h>

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

Public Member Functions

 ProxyFunction (INSTANCE *instance, const METHOD &method, ARG1OBJ *defarg1=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 Kross::Api::ProxyFunction< INSTANCE, METHOD, RETURNOBJ, ARG1OBJ >

Template-specialization of the ProxyFunction above with one argument.

Definition at line 265 of file proxy.h.

Constructor & Destructor Documentation

◆ ProxyFunction()

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

Definition at line 292 of file proxy.h.

Member Function Documentation

◆ call()

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

◆ ProxyFunctionCaller

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

Definition at line 268 of file proxy.h.


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