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

#include <proxy.h>

Inheritance diagram for Kross::Api::ProxyFunction< INSTANCE, METHOD, RETURNOBJ >:
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 306 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 332 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 334 of file proxy.h.

Friends And Related Symbol Documentation

◆ ProxyFunctionCaller

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

Definition at line 309 of file proxy.h.


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