Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Functions
aswrappedcall.h File Reference
#include <angelscript.h>
#include <new>

Go to the source code of this file.

Data Structures

class  gw::Proxy< T >
 
struct  gw::Wrapper< T >
 
struct  gw::WrapperGlobal< T >
 
struct  gw::ObjFirst< T >
 
struct  gw::ObjLast< T >
 
struct  gw::Constructor< T >
 
struct  gw::Wrapper< void(*)(void)>
 
struct  gw::Wrapper< R(*)(void)>
 
struct  gw::Wrapper< void(T::*)(void)>
 
struct  gw::Wrapper< R(T::*)(void)>
 
struct  gw::Wrapper< void(T::*)(void) const >
 
struct  gw::Wrapper< R(T::*)(void) const >
 
struct  gw::WrapperGlobal< void(T::*)(void)>
 
struct  gw::WrapperGlobal< R(T::*)(void)>
 
struct  gw::WrapperGlobal< void(T::*)(void) const >
 
struct  gw::WrapperGlobal< R(T::*)(void) const >
 
struct  gw::ObjFirst< void(*)(T)>
 
struct  gw::ObjFirst< R(*)(T)>
 
struct  gw::ObjLast< void(*)(T)>
 
struct  gw::ObjLast< R(*)(T)>
 
struct  gw::Wrapper< void(*)(A0)>
 
struct  gw::Wrapper< R(*)(A0)>
 
struct  gw::Wrapper< void(T::*)(A0)>
 
struct  gw::Wrapper< R(T::*)(A0)>
 
struct  gw::Wrapper< void(T::*)(A0) const >
 
struct  gw::Wrapper< R(T::*)(A0) const >
 
struct  gw::WrapperGlobal< void(T::*)(A0)>
 
struct  gw::WrapperGlobal< R(T::*)(A0)>
 
struct  gw::WrapperGlobal< void(T::*)(A0) const >
 
struct  gw::WrapperGlobal< R(T::*)(A0) const >
 
struct  gw::ObjFirst< void(*)(T, A0)>
 
struct  gw::ObjFirst< R(*)(T, A0)>
 
struct  gw::ObjLast< void(*)(A0, T)>
 
struct  gw::ObjLast< R(*)(A0, T)>
 
struct  gw::Constructor< T(A0)>
 
struct  gw::Wrapper< void(*)(A0, A1)>
 
struct  gw::Wrapper< R(*)(A0, A1)>
 
struct  gw::Wrapper< void(T::*)(A0, A1)>
 
struct  gw::Wrapper< R(T::*)(A0, A1)>
 
struct  gw::Wrapper< void(T::*)(A0, A1) const >
 
struct  gw::Wrapper< R(T::*)(A0, A1) const >
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1)>
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1)>
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1) const >
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1) const >
 
struct  gw::ObjFirst< void(*)(T, A0, A1)>
 
struct  gw::ObjFirst< R(*)(T, A0, A1)>
 
struct  gw::ObjLast< void(*)(A0, A1, T)>
 
struct  gw::ObjLast< R(*)(A0, A1, T)>
 
struct  gw::Constructor< T(A0, A1)>
 
struct  gw::Wrapper< void(*)(A0, A1, A2)>
 
struct  gw::Wrapper< R(*)(A0, A1, A2)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2)>
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2) const >
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2) const >
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2)>
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2)>
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2) const >
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2) const >
 
struct  gw::ObjFirst< void(*)(T, A0, A1, A2)>
 
struct  gw::ObjFirst< R(*)(T, A0, A1, A2)>
 
struct  gw::ObjLast< void(*)(A0, A1, A2, T)>
 
struct  gw::ObjLast< R(*)(A0, A1, A2, T)>
 
struct  gw::Constructor< T(A0, A1, A2)>
 
struct  gw::Wrapper< void(*)(A0, A1, A2, A3)>
 
struct  gw::Wrapper< R(*)(A0, A1, A2, A3)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2, A3)>
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2, A3)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2, A3) const >
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2, A3) const >
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2, A3)>
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2, A3)>
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2, A3) const >
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2, A3) const >
 
struct  gw::ObjFirst< void(*)(T, A0, A1, A2, A3)>
 
struct  gw::ObjFirst< R(*)(T, A0, A1, A2, A3)>
 
struct  gw::ObjLast< void(*)(A0, A1, A2, A3, T)>
 
struct  gw::ObjLast< R(*)(A0, A1, A2, A3, T)>
 
struct  gw::Constructor< T(A0, A1, A2, A3)>
 
struct  gw::Wrapper< void(*)(A0, A1, A2, A3, A4)>
 
struct  gw::Wrapper< R(*)(A0, A1, A2, A3, A4)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2, A3, A4)>
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2, A3, A4)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2, A3, A4) const >
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2, A3, A4) const >
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2, A3, A4)>
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2, A3, A4)>
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2, A3, A4) const >
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2, A3, A4) const >
 
struct  gw::ObjFirst< void(*)(T, A0, A1, A2, A3, A4)>
 
struct  gw::ObjFirst< R(*)(T, A0, A1, A2, A3, A4)>
 
struct  gw::ObjLast< void(*)(A0, A1, A2, A3, A4, T)>
 
struct  gw::ObjLast< R(*)(A0, A1, A2, A3, A4, T)>
 
struct  gw::Constructor< T(A0, A1, A2, A3, A4)>
 
struct  gw::Wrapper< void(*)(A0, A1, A2, A3, A4, A5)>
 
struct  gw::Wrapper< R(*)(A0, A1, A2, A3, A4, A5)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2, A3, A4, A5)>
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2, A3, A4, A5)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2, A3, A4, A5) const >
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2, A3, A4, A5) const >
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2, A3, A4, A5)>
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2, A3, A4, A5)>
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2, A3, A4, A5) const >
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2, A3, A4, A5) const >
 
struct  gw::ObjFirst< void(*)(T, A0, A1, A2, A3, A4, A5)>
 
struct  gw::ObjFirst< R(*)(T, A0, A1, A2, A3, A4, A5)>
 
struct  gw::ObjLast< void(*)(A0, A1, A2, A3, A4, A5, T)>
 
struct  gw::ObjLast< R(*)(A0, A1, A2, A3, A4, A5, T)>
 
struct  gw::Constructor< T(A0, A1, A2, A3, A4, A5)>
 
struct  gw::Wrapper< void(*)(A0, A1, A2, A3, A4, A5, A6)>
 
struct  gw::Wrapper< R(*)(A0, A1, A2, A3, A4, A5, A6)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2, A3, A4, A5, A6)>
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2, A3, A4, A5, A6)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2, A3, A4, A5, A6) const >
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2, A3, A4, A5, A6) const >
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2, A3, A4, A5, A6)>
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2, A3, A4, A5, A6)>
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2, A3, A4, A5, A6) const >
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2, A3, A4, A5, A6) const >
 
struct  gw::ObjFirst< void(*)(T, A0, A1, A2, A3, A4, A5, A6)>
 
struct  gw::ObjFirst< R(*)(T, A0, A1, A2, A3, A4, A5, A6)>
 
struct  gw::ObjLast< void(*)(A0, A1, A2, A3, A4, A5, A6, T)>
 
struct  gw::ObjLast< R(*)(A0, A1, A2, A3, A4, A5, A6, T)>
 
struct  gw::Constructor< T(A0, A1, A2, A3, A4, A5, A6)>
 
struct  gw::Wrapper< void(*)(A0, A1, A2, A3, A4, A5, A6, A7)>
 
struct  gw::Wrapper< R(*)(A0, A1, A2, A3, A4, A5, A6, A7)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2, A3, A4, A5, A6, A7)>
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2, A3, A4, A5, A6, A7)>
 
struct  gw::Wrapper< void(T::*)(A0, A1, A2, A3, A4, A5, A6, A7) const >
 
struct  gw::Wrapper< R(T::*)(A0, A1, A2, A3, A4, A5, A6, A7) const >
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2, A3, A4, A5, A6, A7)>
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2, A3, A4, A5, A6, A7)>
 
struct  gw::WrapperGlobal< void(T::*)(A0, A1, A2, A3, A4, A5, A6, A7) const >
 
struct  gw::WrapperGlobal< R(T::*)(A0, A1, A2, A3, A4, A5, A6, A7) const >
 
struct  gw::ObjFirst< void(*)(T, A0, A1, A2, A3, A4, A5, A6, A7)>
 
struct  gw::ObjFirst< R(*)(T, A0, A1, A2, A3, A4, A5, A6, A7)>
 
struct  gw::ObjLast< void(*)(A0, A1, A2, A3, A4, A5, A6, A7, T)>
 
struct  gw::ObjLast< R(*)(A0, A1, A2, A3, A4, A5, A6, A7, T)>
 
struct  gw::Constructor< T(A0, A1, A2, A3, A4, A5, A6, A7)>
 
struct  gw::Id< T >
 

Namespaces

namespace  gw
 

Macros

#define TMPL
 
#define WRAP_FN(name)   (::gw::id(name).TMPL f< name >())
 
#define WRAP_MFN(ClassType, name)   (::gw::id(&ClassType::name).TMPL f< &ClassType::name >())
 
#define WRAP_MFN_GLOBAL(ClassType, name)   (::gw::id(&ClassType::name).TMPL fg< &ClassType::name >())
 
#define WRAP_OBJ_FIRST(name)   (::gw::id(name).TMPL of< name >())
 
#define WRAP_OBJ_LAST(name)   (::gw::id(name).TMPL ol< name >())
 
#define WRAP_FN_PR(name, Parameters, ReturnType)   asFUNCTION((::gw::Wrapper<ReturnType (*)Parameters>::TMPL f< name >))
 
#define WRAP_MFN_PR(ClassType, name, Parameters, ReturnType)   asFUNCTION((::gw::Wrapper<ReturnType (ClassType::*)Parameters>::TMPL f< AS_METHOD_AMBIGUITY_CAST(ReturnType (ClassType::*)Parameters)(&ClassType::name) >))
 
#define WRAP_MFN_GLOBAL_PR(ClassType, name, Parameters, ReturnType)   asFUNCTION((::gw::WrapperGlobal<ReturnType (ClassType::*)Parameters>::TMPL f< AS_METHOD_AMBIGUITY_CAST(ReturnType (ClassType::*)Parameters)(&ClassType::name) >))
 
#define WRAP_OBJ_FIRST_PR(name, Parameters, ReturnType)   asFUNCTION((::gw::ObjFirst<ReturnType (*)Parameters>::TMPL f< name >))
 
#define WRAP_OBJ_LAST_PR(name, Parameters, ReturnType)   asFUNCTION((::gw::ObjLast<ReturnType (*)Parameters>::TMPL f< name >))
 
#define WRAP_CON(ClassType, Parameters)   asFUNCTION((::gw::Constructor<ClassType Parameters>::f))
 
#define WRAP_DES(ClassType)   asFUNCTION((::gw::destroy<ClassType>))
 

Functions

template<typename T >
void gw::destroy (AS_NAMESPACE_QUALIFIER asIScriptGeneric *gen)
 
template<typename T >
Id< T > gw::id (T fn_ptr)
 

Macro Definition Documentation

◆ TMPL

#define TMPL

Definition at line 1562 of file aswrappedcall.h.

◆ WRAP_CON

#define WRAP_CON (   ClassType,
  Parameters 
)    asFUNCTION((::gw::Constructor<ClassType Parameters>::f))

Definition at line 1583 of file aswrappedcall.h.

◆ WRAP_DES

#define WRAP_DES (   ClassType)    asFUNCTION((::gw::destroy<ClassType>))

Definition at line 1584 of file aswrappedcall.h.

◆ WRAP_FN

#define WRAP_FN (   name)    (::gw::id(name).TMPL f< name >())

Definition at line 1565 of file aswrappedcall.h.

◆ WRAP_FN_PR

#define WRAP_FN_PR (   name,
  Parameters,
  ReturnType 
)    asFUNCTION((::gw::Wrapper<ReturnType (*)Parameters>::TMPL f< name >))

Definition at line 1571 of file aswrappedcall.h.

◆ WRAP_MFN

#define WRAP_MFN (   ClassType,
  name 
)    (::gw::id(&ClassType::name).TMPL f< &ClassType::name >())

Definition at line 1566 of file aswrappedcall.h.

◆ WRAP_MFN_GLOBAL

#define WRAP_MFN_GLOBAL (   ClassType,
  name 
)    (::gw::id(&ClassType::name).TMPL fg< &ClassType::name >())

Definition at line 1567 of file aswrappedcall.h.

◆ WRAP_MFN_GLOBAL_PR

#define WRAP_MFN_GLOBAL_PR (   ClassType,
  name,
  Parameters,
  ReturnType 
)    asFUNCTION((::gw::WrapperGlobal<ReturnType (ClassType::*)Parameters>::TMPL f< AS_METHOD_AMBIGUITY_CAST(ReturnType (ClassType::*)Parameters)(&ClassType::name) >))

Definition at line 1578 of file aswrappedcall.h.

◆ WRAP_MFN_PR

#define WRAP_MFN_PR (   ClassType,
  name,
  Parameters,
  ReturnType 
)    asFUNCTION((::gw::Wrapper<ReturnType (ClassType::*)Parameters>::TMPL f< AS_METHOD_AMBIGUITY_CAST(ReturnType (ClassType::*)Parameters)(&ClassType::name) >))

Definition at line 1577 of file aswrappedcall.h.

◆ WRAP_OBJ_FIRST

#define WRAP_OBJ_FIRST (   name)    (::gw::id(name).TMPL of< name >())

Definition at line 1568 of file aswrappedcall.h.

◆ WRAP_OBJ_FIRST_PR

#define WRAP_OBJ_FIRST_PR (   name,
  Parameters,
  ReturnType 
)    asFUNCTION((::gw::ObjFirst<ReturnType (*)Parameters>::TMPL f< name >))

Definition at line 1580 of file aswrappedcall.h.

◆ WRAP_OBJ_LAST

#define WRAP_OBJ_LAST (   name)    (::gw::id(name).TMPL ol< name >())

Definition at line 1569 of file aswrappedcall.h.

◆ WRAP_OBJ_LAST_PR

#define WRAP_OBJ_LAST_PR (   name,
  Parameters,
  ReturnType 
)    asFUNCTION((::gw::ObjLast<ReturnType (*)Parameters>::TMPL f< name >))

Definition at line 1581 of file aswrappedcall.h.