12#ifndef ROOT_TVirtualQConnection
13#define ROOT_TVirtualQConnection
35 virtual void SetArg(
const char *) = 0;
42 if (std::is_signed<T>::value)
49 template <
typename T,
typename...
Ts>
void SetArgsImpl(
const T& arg,
const Ts&... tail)
59 template <
typename... T>
void SetArgs(
const T&... args)
66 if (!
sizeof...(args))
return;
long Longptr_t
Integer large enough to hold a pointer (platform-dependent)
unsigned long ULong_t
Unsigned long integer 4 bytes (unsigned long). Size depends on architecture.
long Long_t
Signed long integer 4 bytes (long). Size depends on architecture.
unsigned long ULongptr_t
Unsigned integer large enough to hold a pointer (platform-dependent)
float Float_t
Float 4 bytes (float)
long long Long64_t
Portable signed long integer 8 bytes.
unsigned long long ULong64_t
Portable unsigned long integer 8 bytes.
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
Mediates the link between the signal and the slot.
virtual void SetArg(const Longptr_t *, Int_t=-1)=0
virtual void SetArg(const char *)=0
virtual void SetArg(Float_t)=0
virtual void SetArg(Long_t)=0
void SetArg(const T &val)
void SetArg(const void *ptr)
virtual CallFunc_t * GetSlotCallFunc() const =0
void SetArgs(const T &... args)
Unpacks the template parameter type and sets arguments of integral and array (scalar) type.
virtual void SetArg(ULong64_t)=0
virtual void SendSignal()=0
virtual void SetArg(Long64_t)=0
virtual void SetArg(ULong_t)=0
void SetArgs(const Longptr_t *argArray, Int_t nargs=-1)
Sets an array of arguments passed as a pointer type and size.
void SetArgsImpl(const T &arg, const Ts &... tail)
virtual void SetArg(Double_t)=0