See also: connect function reference.

Dataflow.Signals provides a connect function in the boost::signals namespace, which connects a SignalProducer and SignalConsumer which are Connectable.

Given a SignalProducer p and Connectable SignalConsumer c,

signals::connect(p,c);

will create a connection between the two.

The same function can also connect components which provide default ports. With Dataflow.Signals components, the default SignalProducer is the boost::signal provided by each of the components, and the default SignalConsumer is the call operator (operator()).

Note

The call operator (operator()) acts as a KeyedPort - an appropriate overload will be selected depending on the signature of the signal being connected

The quick start section has some examples.