![]() |
LeechCraft
0.6.70-13605-g8cd066ad6a
Modular cross-platform feature rich live environment.
|
Delegates the SlotClosure deletion decision to the signal handler. More...
#include "slotclosure.h"
Public Types | |
| enum | Delete { Delete::No, Delete::Yes } |
| Whether the SlotClosure shall be deleted. More... | |
Protected Types | |
| using | Signature_t = Delete() |
Protected Member Functions | |
| virtual | ~ChoiceDeletePolicy () |
Static Protected Member Functions | |
| static void | Invoke (const std::function< Signature_t > &f, SlotClosureBase *base) |
| static void | Fired (SlotClosureBase *) |
Delegates the SlotClosure deletion decision to the signal handler.
The signal handler's return value (of enum type ChoiceDeletePolicy::Delete) is used to decide whether the SlotClosure should be deleted. This way, the signal handler may be invoked multiple times until the necessary conditions are met.
Definition at line 278 of file slotclosure.h.
|
protected |
Definition at line 296 of file slotclosure.h.
|
strong |
Whether the SlotClosure shall be deleted.
| Enumerator | |
|---|---|
| No | Do not delete SlotClosure after this invocation. |
| Yes | Delete SlotClosure after this invocation. |
Definition at line 283 of file slotclosure.h.
|
inlineprotectedvirtual |
Definition at line 294 of file slotclosure.h.
|
inlinestaticprotected |
Definition at line 304 of file slotclosure.h.
|
inlinestaticprotected |
Definition at line 298 of file slotclosure.h.