gltk 0.3
a C++ widget library built on GLUT
Classes | Functions
sigc Namespace Reference

The utilities for signal-slot processing. More...

Classes

struct  connection
 keep track of the connection More...
struct  slot0
 slot with zero argument More...
struct  signal0
 signal with zero argument More...
struct  slot1
 slot with one argument More...
struct  signal1
 signal with one argument More...
struct  signal
 convenience template for signal of any number of arguments More...

Functions

template<typename Tr >
slot0< Tr > ptr_fun (Tr(*ptr)())
 function to convert a pointer to slot0
template<typename C , typename Cp , typename Tr >
slot0< Tr > mem_fun (C &cls, Tr(Cp::*ptr)())
 function to convert a member pointer to slot0
template<typename Tr , typename T1 >
slot1< Tr, T1 > ptr_fun (Tr(*ptr)(T1))
 function to convert a pointer to slot1

Detailed Description

The utilities for signal-slot processing.

This is an in-house substitute for libsigc++. It is a partial reimplementation of the libsigc++ API. Notably, there is no aggregator and the number of arguments in calls is limited to 0 or 1.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator