gltk
0.3
a C++ widget library built on GLUT
|
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 |