Logo ROOT   6.12/07
Reference Guide
Macros
RQ_OBJECT.h File Reference
#include <TQObject.h>
#include <Varargs.h>
Include dependency graph for RQ_OBJECT.h:
This graph shows which files directly or indirectly include this file:

Macros

#define RQ_OBJECT(sender_class)
 
#define RQ_OBJECT1(sender_class)
 
#define RQ_OBJECT2(sender_class)
 

Macro Definition Documentation

◆ RQ_OBJECT

#define RQ_OBJECT (   sender_class)
Value:
RQ_OBJECT1(sender_class)\
RQ_OBJECT2(sender_class)
#define RQ_OBJECT1(sender_class)
Definition: RQ_OBJECT.h:66

Definition at line 87 of file RQ_OBJECT.h.

◆ RQ_OBJECT1

#define RQ_OBJECT1 (   sender_class)
Value:
private:\
TQObjSender fQObject;\
public:\
TList *GetListOfSignals() const {return fQObject.GetListOfSignals();}\
Bool_t Connect(const char *sig,const char *cl,void *rcvr,const char *slt)\
{fQObject.SetSender(this);fQObject.SetSenderClassName(sender_class);return fQObject.Connect(sig,cl,rcvr,slt);}\
Bool_t Disconnect(const char *sig=0,void *rcvr=0,const char *slt=0){return fQObject.Disconnect(sig,rcvr,slt);}\
void HighPriority(const char *signal_name,const char *slot_name=0){fQObject.HighPriority(signal_name,slot_name);}\
void LowPriority(const char *signal_name,const char *slot_name=0){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, /*nargs*/0);} \
template <typename T> void Emit(const char *signal, const T& arg) { EmitVA(signal, /*nargs*/ 1, arg); } \
double T(double x)
Definition: ChebyshevPol.h:34
int Int_t
Definition: RtypesCore.h:41

Definition at line 66 of file RQ_OBJECT.h.

◆ RQ_OBJECT2

#define RQ_OBJECT2 (   sender_class)
Value:
void Destroyed(){Emit("Destroyed()");}\
void ChangedBy(const char *method){Emit("ChangedBy(char*)",method);}\
void Message(const char *msg){Emit("Message(char*)",msg);}\
private:

Definition at line 81 of file RQ_OBJECT.h.