SimGrid  3.18
Versatile Simulation of Distributed Systems
simgrid::xbt::signal< R(P...)> Class Template Reference

Detailed Description

template<class R, class... P>
class simgrid::xbt::signal< R(P...)>

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)
 
operator() (P... args) const
 
void disconnect_all_slots ()
 

Member Function Documentation

◆ connect()

template<class R , class... P>
template<class U >
void simgrid::xbt::signal< R(P...)>::connect ( slot)
inline

◆ operator()()

template<class R , class... P>
R simgrid::xbt::signal< R(P...)>::operator() ( P...  args) const
inline

◆ disconnect_all_slots()

template<class R , class... P>
void simgrid::xbt::signal< R(P...)>::disconnect_all_slots ( )
inline

The documentation for this class was generated from the following file: