ScriptTemplateCallHelper

C++
struct ScriptTemplateCallHelper {
  template <typename Callee, typename Func>
struct CallDispatcher {
  };
};
File

ScriptHelpers.h

Description

Helper template class. Handles dispatching of Lua to C script function callbacks to the specified member functions of the CScriptableBase.

See Also
ScriptTemplateCallHelper::CallDispatcher Structure
C++
template <typename Callee, typename Func>
struct CallDispatcher {
};
File

ScriptHelpers.h

ScriptTemplateCallHelper::CallDispatcher::Dispatch Method
C++
static int Dispatch(IFunctionHandler * pH, void * pBuffer, int nSize);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*), IFunctionHandler *)
C++
template <typename Callee> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*), IFunctionHandler * pH);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*,P1), IFunctionHandler *)
C++
template <typename Callee, typename P1> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1), IFunctionHandler * pH);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*,P1, P2), IFunctionHandler *)
C++
template <typename Callee, typename P1, typename P2> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2), IFunctionHandler * pH);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*,P1, P2, P3), IFunctionHandler *)
C++
template <typename Callee, typename P1, typename P2, typename P3> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3), IFunctionHandler * pH);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4), IFunctionHandler *)
C++
template <typename Callee, typename P1, typename P2, typename P3,typename P4> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4), IFunctionHandler * pH);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5), IFunctionHandler *)
C++
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5), IFunctionHandler * pH);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6), IFunctionHandler *)
C++
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5, typename P6> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6), IFunctionHandler * pH);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7), IFunctionHandler *)
C++
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5, typename P6, typename P7> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7), IFunctionHandler * pH);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7, P8), IFunctionHandler *)
C++
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5, typename P6, typename P7, typename P8> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7, P8), IFunctionHandler * pH);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7, P8, P9), IFunctionHandler *)
C++
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5, typename P6, typename P7, typename P8, typename P9> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7, P8, P9), IFunctionHandler * pH);
ScriptTemplateCallHelper::Call Method (Callee*, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7, P8, P9, P10), IFunctionHandler *)
C++
template <typename Callee, typename P1, typename P2, typename P3,typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10> static int Call(Callee* callee, int (Callee::*func)(IFunctionHandler*,P1, P2, P3, P4, P5, P6, P7, P8, P9, P10), IFunctionHandler * pH);