Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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;\
}\
}\
@ kDebugProfile
@ kDebugTrace
static int gDebugProxy
static double total_time
static unsigned int total
Int_t gDebug
Definition TROOT.cxx:597

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:446
bool Bool_t
Definition RtypesCore.h:63
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
This class is the basic interface to the Win32 graphics system.
Definition TGWin32.h:64

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;\
TGWin32::Lock();\
ret = _NAME3_(TGWin32,klass,Proxy)::RealObject()->method();\
TGWin32::Unlock();\
return ret;\
}

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:445
unsigned long ULong_t
Definition RtypesCore.h:55
A doubly linked list.
Definition TList.h:38
void Add(TObject *obj) override
Definition TList.h:81

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)\
TGWin32::Lock();\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method();\
TGWin32::Unlock();\
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)\
TGWin32::Lock();\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(par1);\
TGWin32::Unlock();\
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)\
TGWin32::Lock();\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(par1,par2);\
TGWin32::Unlock();\
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)\
TGWin32::Lock();\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(par1,par2,par3);\
TGWin32::Unlock();\
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)\
TGWin32::Lock();\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(par1,par2,par3,par4);\
TGWin32::Unlock();\
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)\
TGWin32::Lock();\
_NAME3_(TGWin32,klass,Proxy)::RealObject()->method(par1,par2,par3,par4,par5);\
TGWin32::Unlock();\
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.