Runtime Dynamic Dispatch

PrevUpHomeNext

Introduction

The Runtime Dynamic Dispatch Library provides a convenient facility for registering functions and functor instances to common data type. The dispatcher allows the index type to be defined, and the function parameters to be determined at compile time.

This library has many similarities to Boost.Signals but also many differences from it. The following list shows the features of the dynamic dispatch library:

The library intends to centralize the dispatching of registered function handlers that follow a single signature. This is commonly used and similar to switch statements wherein a specific block of code is executed when the argument to the switch call is of a certain value. There is an example which shows precisely how to do this.

Copyright 2006 ,2007 Dean Michael Berris

PrevUpHomeNext