Signal supporting three 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)) |
Add receiver to receive pre-defined signals. | |
template<class T > | |
bool | remove_slot (T *p, R(T::*func)(A1, A2, A3)) |
Remove receiver from the receivers list. | |
void | broadcast (A1 arg1, A2 arg2, A3 arg3) |
Notify all receivers. | |
size_t | count () |
Signal supporting three parameters.
Definition at line 428 of file pdf_observer.h.
pdf::Signal< R, A1, A2, A3, UNUSABLE, UNUSABLE >::Signal | ( | ) | [inline] |
Definition at line 432 of file pdf_observer.h.
pdf::Signal< R, A1, A2, A3, UNUSABLE, UNUSABLE >::~Signal | ( | ) | [inline] |
Definition at line 433 of file pdf_observer.h.
void pdf::Signal< R, A1, A2, A3, UNUSABLE, UNUSABLE >::add_slot | ( | T * | p, | |
R(T::*)(A1, A2, A3) | func | |||
) | [inline] |
Add receiver to receive pre-defined signals.
Definition at line 438 of file pdf_observer.h.
void pdf::Signal< R, A1, A2, A3, UNUSABLE, UNUSABLE >::broadcast | ( | A1 | arg1, | |
A2 | arg2, | |||
A3 | arg3 | |||
) | [inline] |
Notify all receivers.
Definition at line 454 of file pdf_observer.h.
size_t pdf::Signal< R, A1, A2, A3, UNUSABLE, UNUSABLE >::count | ( | ) | [inline] |
Definition at line 467 of file pdf_observer.h.
bool pdf::Signal< R, A1, A2, A3, UNUSABLE, UNUSABLE >::remove_slot | ( | T * | p, | |
R(T::*)(A1, A2, A3) | func | |||
) | [inline] |
Remove receiver from the receivers list.
Definition at line 446 of file pdf_observer.h.