#include <SignalBlocker.h>

Public Member Functions | |
| SignalBlocker (Subject &subject) | |
The given Subject will have it's signals blocked when SignalBlocker is constructed. When SignalBlocker is destructed, the state of signal blocking will return to the state it had prior to the construction of SignalBlocker.
A convenience class. The same as SignalEnabler(subject, false).
Definition at line 106 of file SignalBlocker.h.
| SignalBlocker::SignalBlocker | ( | Subject & | subject | ) | [explicit] |
Creates the RAII object.
Disables signals on the specified Subject.
| subject | The Subject to disable |
Definition at line 119 of file SignalBlocker.h.