E-MailRelay

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Functions
gslot.h File Reference
`#include "gdef.h"`
`#include "gexception.h"`
`#include "gnoncopyable.h"`

Go to the source code of this file.

## Classes
class | G::Slot::SlotImpBase
| Used as a base class to all slot implementation classes (such as G::Slot::SlotImp1), allowing them to be used as bodies to the associated slot reference-counting handle class (eg. More...
class | G::Slot::SignalImp
| A static helper class used by G::Slot signal classes. More...
class | G::Slot::SlotImp0< T >
| A slot implementation class for zero-parameter callbacks. More...
class | G::Slot::SlotCallback0< T >
| Provides a function to down-cast from SlotImpBase to SlotImp0. More...
class | G::Slot::Slot0
| A slot class for zero-parameter callbacks. More...
class | G::Slot::Signal0
| A signal class for zero-parameter callbacks. More...
class | G::Slot::SlotImp1< T, P >
| A slot implementation class for one-parameter callbacks. More...
class | G::Slot::SlotCallback1< T, P >
| Provides a function to down-cast from SlotImpBase to SlotImp1. More...
class | G::Slot::Slot1< P >
| A slot class for one-parameter callbacks. More...
class | G::Slot::Signal1< P >
| A signal class for one-parameter callbacks. More...
class | G::Slot::SlotImp2< T, P1, P2 >
| A slot implementation class for two-parameter callbacks. More...
class | G::Slot::SlotCallback2< T, P1, P2 >
| Provides a function to down-cast from SlotImpBase to SlotImp2. More...
class | G::Slot::Slot2< P1, P2 >
| A slot class for two-parameter callbacks. More...
class | G::Slot::Signal2< P1, P2 >
| A signal class for two-parameter callbacks. More...
class | G::Slot::SlotImp3< T, P1, P2, P3 >
| A slot implementation class for three-parameter callbacks. More...
class | G::Slot::SlotCallback3< T, P1, P2, P3 >
| Provides a function to down-cast from SlotImpBase to SlotImp3. More...
class | G::Slot::Slot3< P1, P2, P3 >
| A slot class for three-parameter callbacks. More...
class | G::Slot::Signal3< P1, P2, P3 >
| A signal class for three-parameter callbacks. More...
class | G::Slot::SlotImp4< T, P1, P2, P3, P4 >
| A slot implementation class for four-parameter callbacks. More...
class | G::Slot::SlotCallback4< T, P1, P2, P3, P4 >
| Provides a function to down-cast from SlotImpBase to SlotImp3. More...
class | G::Slot::Slot4< P1, P2, P3, P4 >
| A slot class for four-parameter callbacks. More...
class | G::Slot::Signal4< P1, P2, P3, P4 >
| A signal class for four-parameter callbacks. More...

## Namespaces
| G
| Low-level classes.
| G::Slot
| A typesafe callback library that isolates event sinks from event sources.

## Functions
template<typename T >
Slot0 | G::Slot::slot (T &object, void(T::*fn)())
| A slot factory function overloaded for a zero-parameter callback.
template<typename T , typename P >
Slot1< P > | G::Slot::slot (T &object, void(T::*fn)(P))
| A slot factory function overloaded for a one-parameter callback.
template<typename T , typename P1 , typename P2 >
Slot2< P1, P2 > | G::Slot::slot (T &object, void(T::*fn)(P1, P2))
| A slot factory function overloaded for a two-parameter callback.
template<typename T , typename P1 , typename P2 , typename P3 >
Slot3< P1, P2, P3 > | G::Slot::slot (T &object, void(T::*fn)(P1, P2, P3))
| A slot factory function overloaded for a three-parameter callback.
template<typename T , typename P1 , typename P2 , typename P3 , typename P4 >
Slot4< P1, P2, P3, P4 > | G::Slot::slot (T &object, void(T::*fn)(P1, P2, P3, P4))
| A slot factory function overloaded for a four-parameter callback.