Calls a function without arguments. See also: NullaryMemFunT. More...
#include <AsyncFunCalls.h>
Public Types | |
using | Handler = void() |
Public Member Functions | |
NullaryFunDialer (Handler *const aHandler) | |
bool | canDial (AsyncCall &) |
void | dial (AsyncCall &) |
void | print (std::ostream &os) const override |
Private Attributes | |
Handler * | handler |
the function to call (or nil) More... | |
Detailed Description
Definition at line 17 of file AsyncFunCalls.h.
Member Typedef Documentation
◆ Handler
using NullaryFunDialer::Handler = void () |
Definition at line 20 of file AsyncFunCalls.h.
Constructor & Destructor Documentation
◆ NullaryFunDialer()
|
inlineexplicit |
Definition at line 22 of file AsyncFunCalls.h.
Member Function Documentation
◆ canDial()
|
inline |
Definition at line 25 of file AsyncFunCalls.h.
References handler.
◆ dial()
|
inline |
Definition at line 26 of file AsyncFunCalls.h.
References handler.
◆ print()
|
inlineoverridevirtual |
Implements CallDialer.
Definition at line 27 of file AsyncFunCalls.h.
Member Data Documentation
◆ handler
|
private |
Definition at line 30 of file AsyncFunCalls.h.
The documentation for this class was generated from the following file:
- src/base/AsyncFunCalls.h