NullaryFunDialer Class Reference
Calls a function without arguments. See also: NullaryMemFunT. More...
#include <AsyncFunCalls.h>
Inheritance diagram for NullaryFunDialer:
![Inheritance graph](classNullaryFunDialer__inherit__graph.png)
Collaboration diagram for NullaryFunDialer:
![Collaboration graph](classNullaryFunDialer__coll__graph.png)
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
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products