lib

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

#include <proxy.h>

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

Public Member Functions

 ProxyFunction (INSTANCE *instance, const METHOD &method)
Object::Ptr call (List::Ptr)

Friends

template<class PROXYFUNC, typename RETURNTYPE>
struct ProxyFunctionCaller

Detailed Description

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

Template-specialization of the ProxyFunction above with no arguments.

Definition at line 305 of file proxy.h.

Constructor & Destructor Documentation

◆ ProxyFunction()

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

Definition at line 331 of file proxy.h.

Member Function Documentation

◆ call()

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

◆ ProxyFunctionCaller

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

Definition at line 308 of file proxy.h.


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