Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

Slot< ArgType, ReturnType > Class Template Reference

#include <glsignal.h>

List of all members.

Public Member Functions

virtual ReturnType operator() (ArgType arg)=0
virtual ReturnType operator() (ArgType arg)=0

Detailed Description

template<class ArgType, class ReturnType = void>
class Slot< ArgType, ReturnType >

Inter object communication device, the signal sends data to slots. Slots are totally passive and thus require no polling. When a signal is emmitted control passes to the first slot in the signal list. After the signal has been transmitted to all connected slots control passes back to the calling function.

There is slight overhead in this design;

Jacques Gasselin de Richebourg

The documentation for this class was generated from the following files:
Generated on Wed Feb 4 23:11:34 2004 by doxygen 1.3.3