SimGrid
3.21
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_slots () |
int | get_slot_count () |
void | disconnectSlots () |
int | getSlotsAmount () |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |