Logo ROOT   6.18/05
Reference Guide
Macros | Enumerations | Variables
TGWin32ProxyDefs.h File Reference
#include "Rtypes.h"
Include dependency graph for TGWin32ProxyDefs.h:
This graph shows which files directly or indirectly include this file:

Macros

#define _NAME4_(name1, name2, name3, name4)   _NAME3_(name1,name2,name3)name4
 
#define DEBUG_PROFILE_PROXY_START(method)
 
#define DEBUG_PROFILE_PROXY_STOP(method)
 
#define RETURN_METHOD_ARG0(klass, type, method)
 
#define RETURN_METHOD_ARG0_CONST(klass, type, method)
 
#define RETURN_METHOD_ARG1(klass, type, method, type1, par1)
 
#define RETURN_METHOD_ARG10(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8, type9, par9, type10, par10)
 
#define RETURN_METHOD_ARG11(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8, type9, par9, type10, par10, type11, par11)
 
#define RETURN_METHOD_ARG2(klass, type, method, type1, par1, type2, par2)
 
#define RETURN_METHOD_ARG3(klass, type, method, type1, par1, type2, par2, type3, par3)
 
#define RETURN_METHOD_ARG4(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4)
 
#define RETURN_METHOD_ARG5(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5)
 
#define RETURN_METHOD_ARG6(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6)
 
#define RETURN_METHOD_ARG7(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7)
 
#define RETURN_METHOD_ARG8(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8)
 
#define RETURN_METHOD_ARG9(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8, type9, par9)
 
#define RETURN_PROXY_OBJECT(klass)
 
#define VOID_METHOD_ARG0(klass, method, sync)
 
#define VOID_METHOD_ARG0_LOCK(klass, method)
 
#define VOID_METHOD_ARG1(klass, method, type1, par1, sync)
 
#define VOID_METHOD_ARG10(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8, type9, par9, type10, par10)
 
#define VOID_METHOD_ARG11(klass, type, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8, type9, par9, type10, par10, type11, par11)
 
#define VOID_METHOD_ARG1_LOCK(klass, method, type1, par1)
 
#define VOID_METHOD_ARG2(klass, method, type1, par1, type2, par2, sync)
 
#define VOID_METHOD_ARG2_LOCK(klass, method, type1, par1, type2, par2)
 
#define VOID_METHOD_ARG3(klass, method, type1, par1, type2, par2, type3, par3, sync)
 
#define VOID_METHOD_ARG3_LOCK(klass, method, type1, par1, type2, par2, type3, par3)
 
#define VOID_METHOD_ARG4(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, sync)
 
#define VOID_METHOD_ARG4_LOCK(klass, method, type1, par1, type2, par2, type3, par3, type4, par4)
 
#define VOID_METHOD_ARG5(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, sync)
 
#define VOID_METHOD_ARG5_LOCK(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5)
 
#define VOID_METHOD_ARG6(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, sync)
 
#define VOID_METHOD_ARG7(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, sync)
 
#define VOID_METHOD_ARG8(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8, sync)
 
#define VOID_METHOD_ARG9(klass, method, type1, par1, type2, par2, type3, par3, type4, par4, type5, par5, type6, par6, type7, par7, type8, par8, type9, par9, sync)
 

Enumerations

enum  { kDebugProfile = -123 , kDebugTrace = -1234 }
 

Variables

static int gDebugProxy = 0
 
static unsigned int total = 0
 
static double total_time = 0
 

Macro Definition Documentation

◆ _NAME4_

#define _NAME4_ (   name1,
  name2,
  name3,
  name4 
)    _NAME3_(name1,name2,name3)name4

Definition at line 19 of file TGWin32ProxyDefs.h.

◆ DEBUG_PROFILE_PROXY_START

#define DEBUG_PROFILE_PROXY_START (   method)
Value:
static int i = 0;\
static double t = 0;\
double start = 0;\
int gDebugValue = 0;\
int debug = 0;\
if (gDebugProxy) {\
gDebugValue = gDebug;\
debug = (gDebugValue==kDebugProfile) || (gDebugValue==kDebugTrace);\
if (debug) {\
start = GetMilliSeconds();\
} else {\
if (total) {\
printf(" method name hits time/hits(ms) time(ms) | Total = %d hits %6.2f ms\n",total,total_time );\
printf("------------------------------------------------------------------------------------------------------------\n");\
}\
if (i && !total) {\
printf(" %-30s %-6d %-3.2f %-4.2f\n",#method,i,t/i,t);\
}\
total_time = t = total = i = 0;\
}\
}\
R__EXTERN Int_t gDebug
Definition: Rtypes.h:91
static int gDebugProxy
static double total_time
@ kDebugProfile
@ kDebugTrace
static unsigned int total

Definition at line 43 of file TGWin32ProxyDefs.h.

◆ DEBUG_PROFILE_PROXY_STOP

#define DEBUG_PROFILE_PROXY_STOP (   method)
Value:
if (gDebugProxy) {\
if (debug) {\
double dt = GetMilliSeconds() - start;\
i++; total++;\
t += dt;\
total_time += dt;\
if (gDebugValue==kDebugTrace) printf(#method " %d\n",i);\
}\
}\

Definition at line 66 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG0

#define RETURN_METHOD_ARG0 (   klass,
  type,
  method 
)
Value:
void _NAME3_(p2,klass,method)(void *in)\
{\
struct tmp {\
type ret;\
};\
tmp *p = (tmp*)in;\
p->ret = _NAME3_(TGWin32,klass,Proxy)::RealObject()->method();\
}\
\
type _NAME3_(TGWin32,klass,Proxy)::method()\
{\
DEBUG_PROFILE_PROXY_START(method)\
type ret;\
struct tmp {\
type ret;\
};\
fParam = new tmp;\
fCallBack = &_NAME3_(p2,klass,method);\
Bool_t batch = ForwardCallBack(1);\
ret = ((tmp*)fParam)->ret;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
return ret;\
}
void Proxy()
Definition: Proxy.C:4
#define _NAME3_(name1, name2, name3)
Definition: RConfig.hxx:445
This class is the basic interface to the Win32 graphics system.
Definition: TGWin32.h:67

Definition at line 533 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG0_CONST

#define RETURN_METHOD_ARG0_CONST (   klass,
  type,
  method 
)
Value:
type _NAME3_(TGWin32,klass,Proxy)::method() const\
{\
type ret;\
ret = _NAME3_(TGWin32,klass,Proxy)::RealObject()->method();\
return ret;\
}
int type
Definition: TGX11.cxx:120
static void Unlock()
Definition: TGWin32.cxx:944
static void Lock()
Definition: TGWin32.cxx:936

Definition at line 522 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG1

#define RETURN_METHOD_ARG1 (   klass,
  type,
  method,
  type1,
  par1 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type ret;\
};\
tmp *p = (tmp*)in;\
p->ret = _NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1);\
}\
\
type _NAME3_(TGWin32,klass,Proxy)::method(type1 par1)\
{\
DEBUG_PROFILE_PROXY_START(method)\
type ret;\
struct tmp {\
type1 par1; type ret;\
tmp(type1 par1):par1(par1) {}\
};\
fParam = new tmp(par1);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(1);\
par1 = ((tmp*)fParam)->par1;\
ret = ((tmp*)fParam)->ret;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
return ret;\
}
#define _NAME4_(name1, name2, name3, name4)

Definition at line 560 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG10

#define RETURN_METHOD_ARG10 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  type7,
  par7,
  type8,
  par8,
  type9,
  par9,
  type10,
  par10 
)

Definition at line 857 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG11

#define RETURN_METHOD_ARG11 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  type7,
  par7,
  type8,
  par8,
  type9,
  par9,
  type10,
  par10,
  type11,
  par11 
)

Definition at line 895 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG2

#define RETURN_METHOD_ARG2 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2; type ret;\
};\
tmp *p = (tmp*)in;\
p->ret = _NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2);\
}\
\
type _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2)\
{\
DEBUG_PROFILE_PROXY_START(method)\
type ret;\
struct tmp {\
type1 par1; type2 par2; type ret;\
tmp(type1 par1,type2 par2):par1(par1),par2(par2) {}\
};\
fParam = new tmp(par1,par2);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(1);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
ret = ((tmp*)fParam)->ret;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
return ret;\
}

Definition at line 589 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG3

#define RETURN_METHOD_ARG3 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2; type3 par3; type ret;\
};\
tmp *p = (tmp*)in;\
p->ret = _NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2,p->par3);\
}\
\
type _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3)\
{\
DEBUG_PROFILE_PROXY_START(method)\
type ret;\
struct tmp {\
type1 par1; type2 par2; type3 par3; type ret;\
tmp(type1 par1,type2 par2,type3 par3):par1(par1),par2(par2),par3(par3) {}\
};\
fParam = new tmp(par1,par2,par3);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(1);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
par3 = ((tmp*)fParam)->par3;\
ret = ((tmp*)fParam)->ret;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
return ret;\
}

Definition at line 619 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG4

#define RETURN_METHOD_ARG4 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type ret;\
};\
tmp *p = (tmp*)in;\
p->ret = _NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2,p->par3,p->par4);\
}\
\
type _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3,type4 par4)\
{\
DEBUG_PROFILE_PROXY_START(method)\
type ret;\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type ret;\
tmp(type1 par1,type2 par2,type3 par3,type4 par4):par1(par1),par2(par2),par3(par3),par4(par4) {}\
};\
fParam = new tmp(par1,par2,par3,par4);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(1);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
par3 = ((tmp*)fParam)->par3;\
par4 = ((tmp*)fParam)->par4;\
ret = ((tmp*)fParam)->ret;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
return ret;\
}

Definition at line 650 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG5

#define RETURN_METHOD_ARG5 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type5 par5; type ret;\
};\
tmp *p = (tmp*)in;\
p->ret = _NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2,p->par3,p->par4,p->par5);\
}\
\
type _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5)\
{\
DEBUG_PROFILE_PROXY_START(method)\
type ret;\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type5 par5; type ret;\
tmp(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5):par1(par1),par2(par2),par3(par3),par4(par4),par5(par5) {}\
};\
fParam = new tmp(par1,par2,par3,par4,par5);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(1);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
par3 = ((tmp*)fParam)->par3;\
par4 = ((tmp*)fParam)->par4;\
par5 = ((tmp*)fParam)->par5;\
ret = ((tmp*)fParam)->ret;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
return ret;\
}

Definition at line 682 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG6

#define RETURN_METHOD_ARG6 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6 
)

Definition at line 715 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG7

#define RETURN_METHOD_ARG7 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  type7,
  par7 
)

Definition at line 749 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG8

#define RETURN_METHOD_ARG8 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  type7,
  par7,
  type8,
  par8 
)

Definition at line 784 of file TGWin32ProxyDefs.h.

◆ RETURN_METHOD_ARG9

#define RETURN_METHOD_ARG9 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  type7,
  par7,
  type8,
  par8,
  type9,
  par9 
)

Definition at line 820 of file TGWin32ProxyDefs.h.

◆ RETURN_PROXY_OBJECT

#define RETURN_PROXY_OBJECT (   klass)
Value:
_NAME2_(T,klass)* _NAME3_(TGWin32,klass,Proxy)::ProxyObject()\
{\
static TList *gListOfProxies = new TList();\
static _NAME3_(TGWin32,klass,Proxy) *proxy = 0;\
ULong_t id = ::GetCurrentThreadId();\
if (proxy && (proxy->GetId()==id)) return proxy;\
if (id==fgMainThreadId) return _NAME3_(TGWin32,klass,Proxy)::RealObject();\
TIter next(gListOfProxies);\
while ((proxy=(_NAME3_(TGWin32,klass,Proxy)*)next())) {\
if (proxy->GetId()==id) {\
return proxy;\
}\
}\
proxy = new _NAME3_(TGWin32,klass,Proxy)();\
gListOfProxies->Add(proxy);\
return proxy;\
}
#define _NAME2_(name1, name2)
Definition: RConfig.hxx:444
A doubly linked list.
Definition: TList.h:44
double T(double x)
Definition: ChebyshevPol.h:34

Definition at line 79 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG0

#define VOID_METHOD_ARG0 (   klass,
  method,
  sync 
)
Value:
void _NAME3_(p2,klass,method)(void *in)\
{\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method();\
}\
\
void _NAME3_(TGWin32,klass,Proxy)::method()\
{\
DEBUG_PROFILE_PROXY_START(method)\
fCallBack = &_NAME3_(p2,klass,method);\
ForwardCallBack(sync);\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 166 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG0_LOCK

#define VOID_METHOD_ARG0_LOCK (   klass,
  method 
)
Value:
void _NAME3_(TGWin32,klass,Proxy)::method()\
{\
DEBUG_PROFILE_PROXY_START(method)\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method();\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 100 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG1

#define VOID_METHOD_ARG1 (   klass,
  method,
  type1,
  par1,
  sync 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1;\
};\
tmp *p = (tmp*)in;\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1);\
}\
\
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1)\
{\
DEBUG_PROFILE_PROXY_START(method)\
struct tmp {\
type1 par1;\
tmp(type1 par1):par1(par1) {}\
};\
fParam = new tmp(par1);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(sync);\
par1 = ((tmp*)fParam)->par1;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 181 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG10

#define VOID_METHOD_ARG10 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  type7,
  par7,
  type8,
  par8,
  type9,
  par9,
  type10,
  par10 
)

Definition at line 451 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG11

#define VOID_METHOD_ARG11 (   klass,
  type,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  type7,
  par7,
  type8,
  par8,
  type9,
  par9,
  type10,
  par10,
  type11,
  par11 
)

Definition at line 486 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG1_LOCK

#define VOID_METHOD_ARG1_LOCK (   klass,
  method,
  type1,
  par1 
)
Value:
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1)\
{\
DEBUG_PROFILE_PROXY_START(method)\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(par1);\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 111 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG2

#define VOID_METHOD_ARG2 (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  sync 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2;\
};\
tmp *p = (tmp*)in;\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2);\
}\
\
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2)\
{\
DEBUG_PROFILE_PROXY_START(method)\
struct tmp {\
type1 par1; type2 par2;\
tmp(type1 par1,type2 par2):par1(par1),par2(par2) {}\
};\
fParam = new tmp(par1,par2);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(sync);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 207 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG2_LOCK

#define VOID_METHOD_ARG2_LOCK (   klass,
  method,
  type1,
  par1,
  type2,
  par2 
)
Value:
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2)\
{\
DEBUG_PROFILE_PROXY_START(method)\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(par1,par2);\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 122 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG3

#define VOID_METHOD_ARG3 (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  sync 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2; type3 par3;\
};\
tmp *p = (tmp*)in;\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2,p->par3);\
}\
\
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3)\
{\
DEBUG_PROFILE_PROXY_START(method)\
struct tmp {\
type1 par1; type2 par2; type3 par3;\
tmp(type1 par1,type2 par2,type3 par3):par1(par1),par2(par2),par3(par3) {}\
};\
fParam = new tmp(par1,par2,par3);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(sync);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
par3 = ((tmp*)fParam)->par3;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 234 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG3_LOCK

#define VOID_METHOD_ARG3_LOCK (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3 
)
Value:
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3)\
{\
DEBUG_PROFILE_PROXY_START(method)\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(par1,par2,par3);\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 133 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG4

#define VOID_METHOD_ARG4 (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  sync 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4;\
};\
tmp *p = (tmp*)in;\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2,p->par3,p->par4);\
}\
\
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3,type4 par4)\
{\
DEBUG_PROFILE_PROXY_START(method)\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4;\
tmp(type1 par1,type2 par2,type3 par3,type4 par4):par1(par1),par2(par2),par3(par3),par4(par4) {}\
};\
fParam = new tmp(par1,par2,par3,par4);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(sync);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
par3 = ((tmp*)fParam)->par3;\
par4 = ((tmp*)fParam)->par4;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 262 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG4_LOCK

#define VOID_METHOD_ARG4_LOCK (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4 
)
Value:
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3,type4 par4)\
{\
DEBUG_PROFILE_PROXY_START(method)\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(par1,par2,par3,par4);\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 144 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG5

#define VOID_METHOD_ARG5 (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  sync 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type5 par5;\
};\
tmp *p = (tmp*)in;\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2,p->par3,p->par4,p->par5);\
}\
\
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5)\
{\
DEBUG_PROFILE_PROXY_START(method)\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type5 par5;\
tmp(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5):par1(par1),par2(par2),par3(par3),par4(par4),par5(par5) {}\
};\
fParam = new tmp(par1,par2,par3,par4,par5);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(sync);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
par3 = ((tmp*)fParam)->par3;\
par4 = ((tmp*)fParam)->par4;\
par5 = ((tmp*)fParam)->par5;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 291 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG5_LOCK

#define VOID_METHOD_ARG5_LOCK (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5 
)
Value:
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5)\
{\
DEBUG_PROFILE_PROXY_START(method)\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(par1,par2,par3,par4,par5);\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 155 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG6

#define VOID_METHOD_ARG6 (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  sync 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type5 par5; type6 par6;\
};\
tmp *p = (tmp*)in;\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2,p->par3,p->par4,p->par5,p->par6);\
}\
\
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5,type6 par6)\
{\
DEBUG_PROFILE_PROXY_START(method)\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type5 par5; type6 par6;\
tmp(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5,type6 par6):par1(par1),par2(par2),par3(par3),par4(par4),par5(par5),par6(par6) {}\
};\
fParam = new tmp(par1,par2,par3,par4,par5,par6);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(sync);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
par3 = ((tmp*)fParam)->par3;\
par4 = ((tmp*)fParam)->par4;\
par5 = ((tmp*)fParam)->par5;\
par6 = ((tmp*)fParam)->par6;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 321 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG7

#define VOID_METHOD_ARG7 (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  type7,
  par7,
  sync 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type5 par5; type6 par6; type7 par7;\
};\
tmp *p = (tmp*)in;\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2,p->par3,p->par4,p->par5,p->par6,p->par7);\
}\
\
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5,type6 par6,type7 par7)\
{\
DEBUG_PROFILE_PROXY_START(method)\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type5 par5; type6 par6; type7 par7;\
tmp(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5,type6 par6,type7 par7):par1(par1),par2(par2),par3(par3),par4(par4),par5(par5),par6(par6),par7(par7) {}\
};\
fParam = new tmp(par1,par2,par3,par4,par5,par6,par7);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(sync);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
par3 = ((tmp*)fParam)->par3;\
par4 = ((tmp*)fParam)->par4;\
par5 = ((tmp*)fParam)->par5;\
par6 = ((tmp*)fParam)->par6;\
par7 = ((tmp*)fParam)->par7;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 352 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG8

#define VOID_METHOD_ARG8 (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  type7,
  par7,
  type8,
  par8,
  sync 
)
Value:
void _NAME4_(p2,klass,method,par1)(void *in)\
{\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type5 par5; type6 par6; type7 par7; type8 par8;\
};\
tmp *p = (tmp*)in;\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(p->par1,p->par2,p->par3,p->par4,p->par5,p->par6,p->par7,p->par8);\
}\
\
void _NAME3_(TGWin32,klass,Proxy)::method(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5,type6 par6,type7 par7,type8 par8)\
{\
DEBUG_PROFILE_PROXY_START(method)\
struct tmp {\
type1 par1; type2 par2; type3 par3; type4 par4; type5 par5; type6 par6; type7 par7; type8 par8;\
tmp(type1 par1,type2 par2,type3 par3,type4 par4,type5 par5,type6 par6,type7 par7,type8 par8):par1(par1),par2(par2),par3(par3),par4(par4),par5(par5),par6(par6),par7(par7),par8(par8) {}\
};\
fParam = new tmp(par1,par2,par3,par4,par5,par6,par7,par8);\
fCallBack = &_NAME4_(p2,klass,method,par1);\
Bool_t batch = ForwardCallBack(sync);\
par1 = ((tmp*)fParam)->par1;\
par2 = ((tmp*)fParam)->par2;\
par3 = ((tmp*)fParam)->par3;\
par4 = ((tmp*)fParam)->par4;\
par5 = ((tmp*)fParam)->par5;\
par6 = ((tmp*)fParam)->par6;\
par7 = ((tmp*)fParam)->par7;\
par8 = ((tmp*)fParam)->par8;\
if (!batch) delete fParam;\
DEBUG_PROFILE_PROXY_STOP(method)\
}

Definition at line 384 of file TGWin32ProxyDefs.h.

◆ VOID_METHOD_ARG9

#define VOID_METHOD_ARG9 (   klass,
  method,
  type1,
  par1,
  type2,
  par2,
  type3,
  par3,
  type4,
  par4,
  type5,
  par5,
  type6,
  par6,
  type7,
  par7,
  type8,
  par8,
  type9,
  par9,
  sync 
)

Definition at line 417 of file TGWin32ProxyDefs.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kDebugProfile 
kDebugTrace 

Definition at line 38 of file TGWin32ProxyDefs.h.

Variable Documentation

◆ gDebugProxy

int gDebugProxy = 0
static

Definition at line 36 of file TGWin32ProxyDefs.h.

◆ total

unsigned int total = 0
static

Definition at line 40 of file TGWin32ProxyDefs.h.

◆ total_time

double total_time = 0
static

Definition at line 41 of file TGWin32ProxyDefs.h.