Signal supporting none parameter. More...
#include <pdf_observer.h>
Public Member Functions | |
Signal () | |
~Signal () | |
template<class T > | |
void | add_slot (T *p, R(T::*func)()) |
Add receiver to receive pre-defined signals. | |
template<class T > | |
bool | remove_slot (T *p, R(T::*func)()) |
Remove receiver from the receivers list. | |
void | broadcast () |
Notify all receivers. | |
size_t | count () |
Signal supporting none parameter.
Definition at line 276 of file pdf_observer.h.
pdf::Signal< R, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::Signal | ( | ) | [inline] |
Definition at line 281 of file pdf_observer.h.
pdf::Signal< R, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::~Signal | ( | ) | [inline] |
Definition at line 282 of file pdf_observer.h.
void pdf::Signal< R, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::add_slot | ( | T * | p, | |
R(T::*)() | func | |||
) | [inline] |
Add receiver to receive pre-defined signals.
Definition at line 287 of file pdf_observer.h.
void pdf::Signal< R, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::broadcast | ( | ) | [inline] |
Notify all receivers.
Definition at line 303 of file pdf_observer.h.
size_t pdf::Signal< R, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::count | ( | ) | [inline] |
Definition at line 316 of file pdf_observer.h.
bool pdf::Signal< R, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE, UNUSABLE >::remove_slot | ( | T * | p, | |
R(T::*)() | func | |||
) | [inline] |
Remove receiver from the receivers list.
Definition at line 295 of file pdf_observer.h.