SigSlot::Slot Class Reference

The receiver of a Signal. More...

#include <Slot.hxx>

List of all members.

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

Detailed Description

The receiver of a Signal.

If the Signal represents the concept of Event Notifying, the Slot represents the 'Event handler'

See also:

Definition at line 39 of file Slot.hxx.

Constructor & Destructor Documentation

SigSlot::Slot::~Slot (  ) 


Destructor method.

Definition at line 47 of file Slot.cxx.

References Unbind().

Member Function Documentation

unsigned SigSlot::Slot::ActiveConnections (  )  const [inline]

Tells how many signals are connected.

This method tells the client how many connections are already established with Signals for the present Slot.

The number of Signals connected to the Slot

Definition at line 76 of file Slot.hxx.

void SigSlot::Slot::Bind ( const Connection conn  ) 
void SigSlot::Slot::Unbind ( Connection::tConnectionId  conn  ) 

Disconnects the Slot.

Calling this method severs the connection between the Slot and the Signal identified by the connection Id number.

conn The connection to be severed.

Definition at line 62 of file Slot.cxx.

void SigSlot::Slot::Unbind (  ) 

Disconnects the Slot.

Calling this method severs all the existing connections between the present slot and any signal.

Definition at line 52 of file Slot.cxx.

Referenced by ~Slot().

The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3