engineAPI::detail::ThunkHelpers
Engine/source/console/engineAPI.h
Classes:
Public Types
R(*)(ArgTs...)
FunctionType
typename std::tuple_element< I, std::tuple< ArgTs ... > >::type
IthArgType
R(Frame::*)(ArgTs ...) const
MethodType
ReturnType
ThunkHelpers< startArgc, R, ArgTs... >
SelfType
typename Gens< sizeof...(ArgTs)>::type
SeqType
Public Static Functions
R
dispatchHelper(S32 argc, ConsoleValueRef * argv, FunctionType fn, const _EngineFunctionDefaultArguments< void(ArgTs...) > & defaultArgs, Seq< I... > )
R
dispatchHelper(S32 argc, ConsoleValueRef * argv, MethodType< Frame > fn, Frame * frame, const _EngineFunctionDefaultArguments< void(typename Frame::ObjectType *, ArgTs...) > & defaultArgs, Seq< I... > )
IthArgType< index >
getRealArgValue(S32 argc, ConsoleValueRef * argv, const _EngineFunctionDefaultArguments< void(RealArgTs...) > & defaultArgs)
Detailed Description
Public Types
typedef R(*)(ArgTs...) FunctionType
typedef typename std::tuple_element< I, std::tuple< ArgTs ... > >::type IthArgType
typedef R(Frame::*)(ArgTs ...) const MethodType
typedef _EngineConsoleThunkType< R >::ReturnType ReturnType
typedef ThunkHelpers< startArgc, R, ArgTs... > SelfType
typedef typename Gens< sizeof...(ArgTs)>::type SeqType
Public Static Attributes
const S32 NUM_ARGS
Public Static Functions
dispatchHelper(S32 argc, ConsoleValueRef * argv, FunctionType fn, const _EngineFunctionDefaultArguments< void(ArgTs...) > & defaultArgs, Seq< I... > )
dispatchHelper(S32 argc, ConsoleValueRef * argv, MethodType< Frame > fn, Frame * frame, const _EngineFunctionDefaultArguments< void(typename Frame::ObjectType *, ArgTs...) > & defaultArgs, Seq< I... > )
getRealArgValue(S32 argc, ConsoleValueRef * argv, const _EngineFunctionDefaultArguments< void(RealArgTs...) > & defaultArgs)