scim::Connection Class Reference
[SignalSlotSignalSlot]

A signal connection class. More...

#include <scim_connection.h>

List of all members.

Constructors

 Connection ()
 Default constructor.
 Connection (Node *node)
 Connection (const Connection &src)
 Copy constructor.
 ~Connection ()
 Destructor.
Connectionoperator= (const Connection &src)
 Assignment operator.


Detailed Description

A signal connection class.

A Connection class is returned by value from a signal's connect() method. Using this class you can block, unblock and disconnect a signal connection.


Constructor & Destructor Documentation

scim::Connection::Connection (  ) 

Default constructor.

scim::Connection::Connection ( Node node  ) 

Construct a connection object for node.

Parameters:
node - a pointer to the Node class for this connection.

scim::Connection::Connection ( const Connection src  ) 

Copy constructor.

scim::Connection::~Connection (  ) 

Destructor.


Member Function Documentation

Connection& scim::Connection::operator= ( const Connection src  ) 

Assignment operator.

void scim::Connection::block (  ) 

Block signal transmission to a slot. The slot will not be called during any signal emissions unless it is unblocked again.

void scim::Connection::unblock (  ) 

Unblock a previously blocked slot. A blocked slot is skipped during signal emissions and will not be invoked, unblocking it (for exactly the number of times it has been blocked before) reverts its "blocked" state, so the slot will be recognized by the signal system and is called upon future or currently ongoing signal emissions.

void scim::Connection::disconnect (  ) 

Disconnect a slot. The slot will not be called during any future or currently ongoing emissions of the signal it has been connected to.

void scim::Connection::block (  ) 

Block signal transmission to a slot. The slot will not be called during any signal emissions unless it is unblocked again.

void scim::Connection::unblock (  ) 

Unblock a previously blocked slot. A blocked slot is skipped during signal emissions and will not be invoked, unblocking it (for exactly the number of times it has been blocked before) reverts its "blocked" state, so the slot will be recognized by the signal system and is called upon future or currently ongoing signal emissions.

void scim::Connection::disconnect (  ) 

Disconnect a slot. The slot will not be called during any future or currently ongoing emissions of the signal it has been connected to.


The documentation for this class was generated from the following file:
Generated on Sat Apr 21 23:33:21 2007 for scim by  doxygen 1.5.0