Signal supporting four parameters. More...
#include <pdf_observer.h>
Public Member Functions | |
Signal () | |
~Signal () | |
template<class T > | |
void | add_slot (T *p, R(T::*func)(A1, A2, A3, A4)) |
Add receiver to receive pre-defined signals. | |
template<class T > | |
bool | remove_slot (T *p, R(T::*func)(A1, A2, A3, A4)) |
Remove receiver from the receivers list. | |
void | broadcast (A1 arg1, A2 arg2, A3 arg3, A4 arg4) |
Notify all receivers. | |
size_t | count () |
Signal supporting four parameters.
Definition at line 480 of file pdf_observer.h.
pdf::Signal< R, A1, A2, A3, A4, UNUSABLE >::Signal | ( | ) | [inline] |
Definition at line 484 of file pdf_observer.h.
pdf::Signal< R, A1, A2, A3, A4, UNUSABLE >::~Signal | ( | ) | [inline] |
Definition at line 485 of file pdf_observer.h.
void pdf::Signal< R, A1, A2, A3, A4, UNUSABLE >::add_slot | ( | T * | p, | |
R(T::*)(A1, A2, A3, A4) | func | |||
) | [inline] |
Add receiver to receive pre-defined signals.
Definition at line 490 of file pdf_observer.h.
void pdf::Signal< R, A1, A2, A3, A4, UNUSABLE >::broadcast | ( | A1 | arg1, | |
A2 | arg2, | |||
A3 | arg3, | |||
A4 | arg4 | |||
) | [inline] |
Notify all receivers.
Definition at line 506 of file pdf_observer.h.
size_t pdf::Signal< R, A1, A2, A3, A4, UNUSABLE >::count | ( | ) | [inline] |
Definition at line 519 of file pdf_observer.h.
bool pdf::Signal< R, A1, A2, A3, A4, UNUSABLE >::remove_slot | ( | T * | p, | |
R(T::*)(A1, A2, A3, A4) | func | |||
) | [inline] |
Remove receiver from the receivers list.
Definition at line 498 of file pdf_observer.h.