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;
This is the ROOT implementation of the Qt object communication mechanism (see also http://www...
virtual void PrintCollectionHeader(Option_t *option) const override
Print TQConnection full method name and print all signals connected to this connection.
void UnLockSlot(TQSlot *) const
Unlock the interpreter and mark the slot as no longer executing.
virtual void SetArg(Double_t param) override
void * GetReceiver() const
void SetArgs(const T &... args)
Unpacks the template parameter type and sets arguments of integral and array (scalar) type...
void Destroyed() override
Signal Destroyed tells that connection is destroyed.
virtual void SetArg(Long64_t param) override
virtual ~TQConnection()
TQConnection dtor.
TQConnection & operator=(const TQConnection &)=delete
void ExecuteMethod(Int_t, const T &... params)
R__EXTERN char * gTQSlotParams
TQConnection class is an internal class, used in the object communication mechanism.
virtual void SetArg(Long_t param) override
The ROOT global object gROOT contains a list of all defined classes.
void ExecuteMethod()
Apply slot-method to the fReceiver object without arguments.
Bool_t CheckSlot(Int_t nargs) const
Return true if the underlying method is value and the number of argument is compatible.
void ExecuteMethod(const T &... params)
virtual void SetArg(Float_t param) override
void * GetSlotAddress() const
Return the object address to be passed to the function.
CallFunc_t * LockSlot() const
Lock the interpreter and mark the slot as executing.
unsigned long long ULong64_t
double func(double *x, double *p)
const char * GetName() const override
Returns name of connection (aka name of slot)
virtual void SendSignal() override
void ls(Option_t *option="") const override
List TQConnection full method name and list all signals connected to this connection.
virtual void SetArg(ULong64_t param) override
#define ClassDefOverride(name, id)
Mediates the link between the signal and the slot.
const char * GetClassName() const
virtual void SetArg(const char *param) override
virtual void SetArg(ULong_t param) override
virtual CallFunc_t * GetSlotCallFunc() const override