|
HGCal Test Beam
03a93d6239a951948e06fb3ef8dae4cbdebfad30
|
#include <Connection.h>


Public Member Functions | |
| Connection (TQObject *sender, const char *signal, PyObject *receiver, const char *method) | |
| ~Connection () | |
| bool | noArgs (std::string &signal) |
| True if signal has no arguments. More... | |
| TQObject * | sender () const |
| const char * | signal () const |
| PyObject * | receiver () const |
| const char * | method () const |
Model a signal/slot association. Many computing systems use the signal/slot model for associating a signal, for example a user interaction with a graphical user interface (GUI), and a slot, that is, a procedure or function that is executed in response to the signal. This class is designed to be used with Python. See TheNtupleMaker/scripts/mkntuplecfi.py for an illustration of how to use this class with the ROOT GUI classes.
Definition at line 24 of file Connection.h.
| Connection::Connection | ( | TQObject * | sender, |
| const char * | signal, | ||
| PyObject * | receiver, | ||
| const char * | method | ||
| ) |
Construct a signal/slott association.
| sender | - The address of an object able to issue signals (e.g., a TGMainFrame) |
| signal | - The function, typically of the sender, that is to be called when some action triggers it (e.g., ``CloseWindow()") |
| receiver | - The address of the object that must respond to the signal |
| - | The function, typically a method of the receiver, that is to be called upon the issuing of the associated signal. |
Definition at line 16 of file Connection.cc.
References noArgs().
| Connection::~Connection | ( | ) |
Definition at line 32 of file Connection.cc.
References noArgs().
|
inline |
Definition at line 58 of file Connection.h.
References Slot::method().
| Bool_t Connection::noArgs | ( | std::string & | signal | ) |
True if signal has no arguments.
Definition at line 44 of file Connection.cc.
Referenced by Connection(), and ~Connection().
|
inline |
Definition at line 55 of file Connection.h.
References Slot::receiver().
|
inline |
Definition at line 49 of file Connection.h.
|
inline |
Definition at line 52 of file Connection.h.
1.8.5