Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
TQObjSender Class Reference

Definition at line 233 of file TQObject.h.

Public Member Functions

 TQObjSender ()
 
virtual ~TQObjSender ()
 
virtual void SetSender (void *sender)
 
void SetSenderClassName (const char *sclass="")
 
- Public Member Functions inherited from TQObject
 TQObject ()
 TQObject Constructor. More...
 
virtual ~TQObject ()
 TQObject Destructor. More...
 
Bool_t AreSignalsBlocked () const
 
Bool_t BlockSignals (Bool_t b)
 
virtual void ChangedBy (const char *method)
 
void CollectClassSignalLists (TList &list, TClass *cls)
 Collect class signal lists from class cls and all its base-classes. More...
 
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. More...
 
virtual void Connected (const char *)
 
virtual void Destroyed ()
 
Bool_t Disconnect (const char *signal=0, void *receiver=0, const char *slot=0)
 Disconnects signal of this object from slot of receiver. More...
 
virtual void Disconnected (const char *)
 
template<typename T >
void Emit (const char *signal, const T &arg)
 Activate signal with single parameter. More...
 
void Emit (const char *signal)
 Acitvate signal without args. More...
 
template<typename... T>
void EmitVA (const char *signal_name, Int_t, const T &... params)
 Emit a signal with a varying number of arguments. More...
 
TListGetListOfClassSignals () const
 Returns pointer to list of signals of this class. More...
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 Return true if there is any object connected to this signal. More...
 
virtual void HighPriority (const char *signal_name, const char *slot_name=0)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=0)
 
virtual void Message (const char *msg)
 
virtual Int_t NumberOfConnections () const
 Return number of connections for this object. More...
 
virtual Int_t NumberOfSignals () const
 Return number of signals for this object. More...
 

Protected Member Functions

virtual voidGetSender ()
 
virtual const char * GetSenderClassName () const
 

Protected Attributes

voidfSender
 
TString fSenderClass
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 list of signals from this object More...
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 list of connections to this object More...
 

Private Member Functions

 TQObjSender (const TQObjSender &)
 
TQObjSenderoperator= (const TQObjSender &)
 

Additional Inherited Members

- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 Returns true if all signals are blocked. More...
 
static Bool_t BlockAllSignals (Bool_t b)
 Block or unblock all signals. Returns the previous block status. More...
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver. More...
 
static Bool_t Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 This method allows to make a connection from any object of the same class to a single slot. More...
 
static Bool_t Disconnect (TQObject *sender, const char *signal=0, void *receiver=0, const char *slot=0)
 Disconnects signal in object sender from slot_method in object receiver. More...
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=0, const char *slot=0)
 Disconnects "class signal". More...
 
- Static Protected Member Functions inherited from TQObject
static Int_t CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot)
 Checking of consitency of sender/receiver methods/arguments. More...
 
static TString CompressName (const char *method_name)
 Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature. More...
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver. More...
 
static Bool_t ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 This method allows to make connection from any object of the same class to the receiver object. More...
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked = kFALSE
 flag used for suppression of signals More...
 

#include <TQObject.h>

Inheritance diagram for TQObjSender:
[legend]

Constructor & Destructor Documentation

◆ TQObjSender() [1/2]

TQObjSender::TQObjSender ( const TQObjSender )
private

◆ TQObjSender() [2/2]

TQObjSender::TQObjSender ( )
inline

Definition at line 247 of file TQObject.h.

◆ ~TQObjSender()

virtual TQObjSender::~TQObjSender ( )
inlinevirtual

Definition at line 248 of file TQObject.h.

Member Function Documentation

◆ GetSender()

virtual void* TQObjSender::GetSender ( )
inlineprotectedvirtual

Reimplemented from TQObject.

Definition at line 239 of file TQObject.h.

◆ GetSenderClassName()

virtual const char* TQObjSender::GetSenderClassName ( ) const
inlineprotectedvirtual

Reimplemented from TQObject.

Definition at line 240 of file TQObject.h.

◆ operator=()

TQObjSender& TQObjSender::operator= ( const TQObjSender )
private

◆ SetSender()

virtual void TQObjSender::SetSender ( void sender)
inlinevirtual

Definition at line 250 of file TQObject.h.

◆ SetSenderClassName()

void TQObjSender::SetSenderClassName ( const char *  sclass = "")
inline

Definition at line 251 of file TQObject.h.

Member Data Documentation

◆ fSender

void* TQObjSender::fSender
protected

Definition at line 236 of file TQObject.h.

◆ fSenderClass

TString TQObjSender::fSenderClass
protected

Definition at line 237 of file TQObject.h.

Libraries for TQObjSender:
[legend]

The documentation for this class was generated from the following file: