Signal supporting one parameter. More...
#include <pdf_observer.h>
Public Member Functions | |
Signal () | |
~Signal () | |
template<class T > | |
void | add_slot (T *p, R(T::*func)(A1)) |
Add receiver to receive pre-defined signals. | |
template<class T > | |
bool | remove_slot (T *p, R(T::*func)(A1)) |
Remove receiver from the receivers list. | |
void | broadcast (A1 arg1) |
Notify all receivers. | |
size_t | count () |
Signal supporting one parameter.
Definition at line 326 of file pdf_observer.h.
pdf::Signal< R, A1, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::Signal | ( | ) | [inline] |
Definition at line 330 of file pdf_observer.h.
pdf::Signal< R, A1, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::~Signal | ( | ) | [inline] |
Definition at line 331 of file pdf_observer.h.
void pdf::Signal< R, A1, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::add_slot | ( | T * | p, | |
R(T::*)(A1) | func | |||
) | [inline] |
Add receiver to receive pre-defined signals.
Definition at line 336 of file pdf_observer.h.
void pdf::Signal< R, A1, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::broadcast | ( | A1 | arg1 | ) | [inline] |
Notify all receivers.
Definition at line 352 of file pdf_observer.h.
size_t pdf::Signal< R, A1, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::count | ( | ) | [inline] |
Definition at line 365 of file pdf_observer.h.
bool pdf::Signal< R, A1, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::remove_slot | ( | T * | p, | |
R(T::*)(A1) | func | |||
) | [inline] |
Remove receiver from the receivers list.
Definition at line 344 of file pdf_observer.h.