private:\
public:\
Bool_t Connect(
const char *sig,
const char *cl,
void *rcvr,
const char *slt)\
Bool_t Disconnect(
const char *sig=
nullptr,
void *rcvr=
nullptr,
const char *slt=
nullptr){
return fQObject.
Disconnect(sig,rcvr,slt);}\
void HighPriority(
const char *signal_name,
const char *slot_name=
nullptr){fQObject.
HighPriority(signal_name,slot_name);}\
void LowPriority(
const char *signal_name,
const char *slot_name=
nullptr){fQObject.
LowPriority(signal_name,slot_name);}\
template <
typename...
T>
void EmitVA(
const char *signal_name,
Int_t nargs,
const T&... params) \
{ fQObject.
EmitVA(signal_name,nargs,params...); } \
void Emit(const char *signal){EmitVA(signal, 0);} \
template <typename T> void Emit(const char *signal, const T& arg) { EmitVA(signal, 1, arg); } \
virtual void SetSender(void *sender)
void SetSenderClassName(const char *sclass="")
TList * GetListOfSignals() const
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
void EmitVA(const char *signal_name, Int_t, const T &... params)
Emit a signal with a varying number of arguments.
virtual void LowPriority(const char *signal_name, const char *slot_name=nullptr)
Bool_t Disconnect(const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
Disconnects signal of this object from slot of receiver.
virtual void HighPriority(const char *signal_name, const char *slot_name=nullptr)