The receiver of a Signal. More...
#include <Slot.hxx>
Public Member Functions | |
void | Bind (const Connection &conn) |
Binds the Slot with a Signal. | |
void | Unbind () |
Disconnects the Slot. | |
void | Unbind (Connection::tConnectionId conn) |
Disconnects the Slot. | |
unsigned | ActiveConnections () const |
Tells how many signals are connected. | |
~Slot () | |
Destructor. |
The receiver of a Signal.
If the Signal represents the concept of Event Notifying, the Slot represents the 'Event handler'
Definition at line 39 of file Slot.hxx.
SigSlot::Slot::~Slot | ( | ) |
unsigned SigSlot::Slot::ActiveConnections | ( | ) | const [inline] |
void SigSlot::Slot::Bind | ( | const Connection & | conn | ) |
This method keeps the Slot bound to a given Signal ( identified by a Connection ).
conn | The connection to establish |
Definition at line 57 of file Slot.cxx.
Referenced by SigSlot::Signalv4< ParmType1, ParmType2, ParmType3, ParmType4 >::Connect(), SigSlot::Signalv3< ParmType1, ParmType2, ParmType3 >::Connect(), SigSlot::Signalv2< ParmType1, ParmType2 >::Connect(), SigSlot::Signalv1< ParmType1 >::Connect(), and SigSlot::Signalv0::Connect().
void SigSlot::Slot::Unbind | ( | Connection::tConnectionId | conn | ) |
void SigSlot::Slot::Unbind | ( | ) |