|
Squid Web Cache master
|
CallDialer for single-parameter stand-alone functions. More...
#include <AsyncFunCalls.h>
Public Types | |
| using | Handler = void(Argument1) |
| a stand-alone function that receives the parameter given to us | |
Public Member Functions | |
| UnaryFunDialer (Handler *const aHandler, Argument1 anArg1) | |
| ~UnaryFunDialer () override=default | |
| bool | canDial (AsyncCall &) |
| void | dial (AsyncCall &) |
| void | print (std::ostream &os) const final |
Private Attributes | |
| Handler * | handler |
| the function to call | |
| Argument1 | arg1 |
| actual call parameter | |
Definition at line 35 of file AsyncFunCalls.h.
| using UnaryFunDialer< Argument1 >::Handler = void (Argument1) |
Definition at line 39 of file AsyncFunCalls.h.
|
inline |
Definition at line 41 of file AsyncFunCalls.h.
|
overridedefault |
|
inline |
Definition at line 48 of file AsyncFunCalls.h.
References UnaryFunDialer< Argument1 >::handler.
|
inline |
Definition at line 49 of file AsyncFunCalls.h.
References UnaryFunDialer< Argument1 >::arg1, and UnaryFunDialer< Argument1 >::handler.
|
inlinefinalvirtual |
Implements CallDialer.
Definition at line 50 of file AsyncFunCalls.h.
References UnaryFunDialer< Argument1 >::arg1.
|
private |
Definition at line 54 of file AsyncFunCalls.h.
Referenced by UnaryFunDialer< Argument1 >::dial(), and UnaryFunDialer< Argument1 >::print().
|
private |
Definition at line 53 of file AsyncFunCalls.h.
Referenced by UnaryFunDialer< Argument1 >::canDial(), and UnaryFunDialer< Argument1 >::dial().