Aggregator base class and expert interface. More...
#include <aggregator.h>
Public Member Functions | |
aggregator_ext (const handler_type &h) | |
void | process (aggregator_operation *op) |
EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. More... | |
Protected Member Functions | |
void | execute_impl (aggregator_operation &op) |
Aggregator base class and expert interface.
An aggregator for collecting operations coming from multiple sources and executing them serially on a single thread.
|
inlineprotected |
Place operation in mailbox, then either handle mailbox or wait for the operation to be completed by a different thread.
|
inline |
EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox.
Details of user-made operations must be handled by user-provided handler