Encapsulate notifier list behavior used by result_container
. Namely two interfaces: one to add a new notifier to a list and another to invoke all notifiers, delete them, and empty the list.
More...
Public Member Functions | |
void | push_back (Notifier const &f) |
Add a notifier to the list. | |
void | flush (void) |
Iterate over list, removing notifiers, invoking their function operators, and then deleting the notifier objects. | |
Encapsulate notifier list behavior used by result_container
. Namely two interfaces: one to add a new notifier to a list and another to invoke all notifiers, delete them, and empty the list.
Notifier | Type of notifier objects held by the list. |