Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TQObjSender Class Reference

Definition at line 232 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.
 
virtual ~TQObject ()
 TQObject Destructor.
 
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.
 
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.
 
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.
 
virtual void Disconnected (const char *)
 
void Emit (const char *signal)
 Activate signal without args.
 
template<typename T >
void Emit (const char *signal, const T &arg)
 Activate signal with single parameter.
 
template<typename... T>
void EmitVA (const char *signal_name, Int_t, const T &... params)
 Emit a signal with a varying number of arguments.
 
TListGetListOfClassSignals () const
 Returns pointer to list of signals of this class.
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 Return true if there is any object connected to this signal.
 
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.
 
virtual Int_t NumberOfSignals () const
 Return number of signals for this object.
 

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
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 list of connections to this object
 

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.
 
static Bool_t BlockAllSignals (Bool_t b)
 Block or unblock all signals. Returns the previous block status.
 
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.
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver.
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=0, const char *slot=0)
 Disconnects "class signal".
 
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.
 
- 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 consistency of sender/receiver methods/arguments.
 
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.
 
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.
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver.
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked = kFALSE
 flag used for suppression of signals
 

#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 246 of file TQObject.h.

◆ ~TQObjSender()

virtual TQObjSender::~TQObjSender ( )
inlinevirtual

Definition at line 247 of file TQObject.h.

Member Function Documentation

◆ GetSender()

virtual void * TQObjSender::GetSender ( )
inlineprotectedvirtual

Reimplemented from TQObject.

Definition at line 238 of file TQObject.h.

◆ GetSenderClassName()

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

Reimplemented from TQObject.

Definition at line 239 of file TQObject.h.

◆ operator=()

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

◆ SetSender()

virtual void TQObjSender::SetSender ( void sender)
inlinevirtual

Definition at line 249 of file TQObject.h.

◆ SetSenderClassName()

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

Definition at line 250 of file TQObject.h.

Member Data Documentation

◆ fSender

void* TQObjSender::fSender
protected

Definition at line 235 of file TQObject.h.

◆ fSenderClass

TString TQObjSender::fSenderClass
protected

Definition at line 236 of file TQObject.h.

  • core/base/inc/TQObject.h