| |
| | Callbacks in C++ using template functors |
 | | These Functor classes are sufficient to meet the callback needs of component designers, as they offer a standard and consistent way to offer callback services, and a simple mechanism for invoking the callback function. |
 | | The Functor class is parameterized on the types of the callback function signature, holds the callee data in a typeless manner, and defines a typed operators but doesn't actually perform the work of calling back. |
 | | Here, makefunctor is parameterized with the type of the argument to the Functor, the type of the Callee, the type of the class of which the member-function is a member, and the argument and return types of the member function. |
| www.contactor.se /~daniel/links/callback.html (5733 words) |
|