|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
A signal/slot mechanism.
S is expected to be the function signature of the signal. I'm not sure we need a return value (it is currently ignored). If we don't we might use signal<P1, P2, ...> instead.
#include <signal.hpp>
Public Member Functions | |
| template<class U > | |
| void | connect (U slot) |
| R | operator() (P... args) const |
| void | disconnect_all_slots () |
|
inline |
|
inline |
|
inline |