This accumulator will try each slot and stop when the first slot returns HANDLED. More...
#include <accumulators.h>
Public Types | |
typedef HandlerResult | result_type |
Public Member Functions | |
template<typename T_iterator > | |
result_type | operator() (T_iterator first, T_iterator last) const |
This accumulator will try each slot and stop when the first slot returns HANDLED.
If no slot returned HANDLED it will return HANDLER_NEEDS_MEMORY if any handler indicated this condition.
Otherwise it will return NOT_HANDLED.
result_type DBus::MessageHandlerAccumulator::operator() | ( | T_iterator | first, | |
T_iterator | last | |||
) | const [inline] |
References DBus::HANDLED, DBus::HANDLER_NEEDS_MEMORY, and DBus::NOT_HANDLED.