12#ifndef ROOT_TQConnection
13#define ROOT_TQConnection
85 const char *method_name);
89 const char *
GetName()
const override;
97 if (!
CheckSlot(
sizeof...(params)))
return;
int Int_t
Signed integer 4 bytes (int).
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.
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
long long Long64_t
Portable signed long integer 8 bytes.
unsigned long long ULong64_t
Portable unsigned long integer 8 bytes.
float Float_t
Float 4 bytes (float).
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
externchar * gTQSlotParams
TClass instances represent classes, structs and namespaces in the ROOT type system.
TQConnection class is an internal class, used in the object communication mechanism.
void SendSignal() override
void * GetSlotAddress() const
Return the object address to be passed to the function.
CallFunc_t * GetSlotCallFunc() const override
void SetArg(ULong64_t param) override
void ExecuteMethod()
Apply slot-method to the fReceiver object without arguments.
void UnLockSlot(TQSlot *) const
Unlock the interpreter and mark the slot as no longer executing.
void SetArg(ULong_t param) override
const char * GetClassName() const
virtual void PrintCollectionHeader(Option_t *option) const override
Print TQConnection full method name and print all signals connected to this connection.
CallFunc_t * LockSlot() const
Lock the interpreter and mark the slot as executing.
void SetArg(Long64_t param) override
void SetArg(Float_t param) override
void Destroyed() override
Signal Destroyed tells that connection is destroyed.
void * GetReceiver() const
Bool_t CheckSlot(Int_t nargs) const
Return true if the underlying method is value and the number of argument is compatible.
TQConnection & operator=(const TQConnection &)=delete
void ExecuteMethod(Int_t, const T &... params)
const char * GetName() const override
Returns name of connection (aka name of slot).
void SetArg(Double_t param) override
virtual ~TQConnection()
TQConnection dtor.
void SetArg(const char *param) override
void SetArg(Long_t param) override
void ExecuteMethod(const T &... params)
void ExecuteMethod(Int_t nargs, va_list va)=delete
void ls(Option_t *option="") const override
List TQConnection full method name and list all signals connected to this connection.
TQObject(const TQObject &)=delete
Slightly modified TMethodCall class used in the object communication mechanism.
Mediates the link between the signal and the slot.
void SetArgs(const T &... args)
Unpacks the template parameter type and sets arguments of integral and array (scalar) type.