TwiceAsNice
2019-02-18
|
Prioritized task function object. More...
#include <DispatcherFunc.h>
Public Member Functions | |
virtual void | operator() (void) const =0 |
virtual void | operator() (void) const =0 |
Prioritized task function object.
This function object wraps a DispatcherFunc object and binds a priority to it. DispatcherFuncPrios can be compared using the operator < which realises a partial ordering. The wrapped task function is invoked by calling the operator ().
|
pure virtual |
Executes the task function.
Implemented in Nice::DispatcherFuncPrioHolderImpl< Type, TypeClass, TypeMemFn >, Nice::DispatcherFuncPrioHolderImpl< Type, TypeClass, TypeMemFn >, Nice::AppConfigService::GetTreeDispatcherFuncPrioHolder, Nice::AppConfigService::GetTreeDispatcherFuncPrioHolder, Nice::ServiceWatchdog::ConnectionWatchdogDispatcherFunc, and Nice::ServiceWatchdog::ConnectionWatchdogDispatcherFunc.
|
pure virtual |
Executes the task function.
Implemented in Nice::DispatcherFuncPrioHolderImpl< Type, TypeClass, TypeMemFn >, Nice::DispatcherFuncPrioHolderImpl< Type, TypeClass, TypeMemFn >, Nice::AppConfigService::GetTreeDispatcherFuncPrioHolder, Nice::AppConfigService::GetTreeDispatcherFuncPrioHolder, Nice::ServiceWatchdog::ConnectionWatchdogDispatcherFunc, and Nice::ServiceWatchdog::ConnectionWatchdogDispatcherFunc.