aboutsummaryrefslogtreecommitdiff
path: root/src/tests/testSignals.cc
AgeCommit message (Collapse)AuthorFilesLines
2010-03-18Added MemFunIgnoreArgs which ignores aditional arguments.Henrik Kinnunen1-1/+22
For example connecting a function that takes two arguments to a signal that emits three arguments: struct Functor { void show(int a, int b); }; Functor f; Signal<void, int, int, int> s3; s3.connect(MemFunIgnoreArgs(f, &Functor::show));
2008-09-18Added new Signal/Slot system in FbTkHenrik Kinnunen1-0/+121
This is suppose to replace the obsolete Subject/Observer classes. See the src/tests/testSignals.cc for basic usage.