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

Definition at line 233 of file TQObject.h.

Public Member Functions

 TQObjSender ()
 
virtual ~TQObjSender ()
 
TClassIsA () const override
 
virtual void SetSender (void *sender)
 
void SetSenderClassName (const char *sclass="")
 
void Streamer (TBuffer &) override
 Stream an object of class TQObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- 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=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 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=nullptr)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=nullptr)
 
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.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- 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 TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
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 const char * DeclFileName ()
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects "class signal".
 
static Bool_t Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects signal in object sender from slot_method in object receiver.
 

Protected Member Functions

void * GetSender () override
 
const char * GetSenderClassName () const override
 

Protected Attributes

void * fSender
 
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 &)=delete
 
TQObjSenderoperator= (const TQObjSender &)=delete
 

Additional Inherited Members

- 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 )
privatedelete

◆ 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

◆ Class()

static TClass * TQObjSender::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TQObjSender::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TQObjSender::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 253 of file TQObject.h.

◆ DeclFileName()

static const char * TQObjSender::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 253 of file TQObject.h.

◆ GetSender()

void * TQObjSender::GetSender ( )
inlineoverrideprotectedvirtual

Reimplemented from TQObject.

Definition at line 239 of file TQObject.h.

◆ GetSenderClassName()

const char * TQObjSender::GetSenderClassName ( ) const
inlineoverrideprotectedvirtual

Reimplemented from TQObject.

Definition at line 240 of file TQObject.h.

◆ IsA()

TClass * TQObjSender::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TQObject.

Definition at line 253 of file TQObject.h.

◆ operator=()

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

◆ 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.

◆ Streamer()

void TQObjSender::Streamer ( TBuffer R__b)
overridevirtual

Stream an object of class TQObject.

Reimplemented from TQObject.

◆ StreamerNVirtual()

void TQObjSender::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 253 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.

  • core/base/inc/TQObject.h