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  More... | |
| 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  More... | |
| Argument1 | arg1 | 
| actual call parameter  More... | |
Detailed Description
template<typename Argument1>
class UnaryFunDialer< Argument1 >
Definition at line 35 of file AsyncFunCalls.h.
Member Typedef Documentation
◆ Handler
| using UnaryFunDialer< Argument1 >::Handler = void (Argument1) | 
Definition at line 39 of file AsyncFunCalls.h.
Constructor & Destructor Documentation
◆ UnaryFunDialer()
| 
 | inline | 
Definition at line 41 of file AsyncFunCalls.h.
◆ ~UnaryFunDialer()
| 
 | overridedefault | 
Member Function Documentation
◆ canDial()
| 
 | inline | 
Definition at line 48 of file AsyncFunCalls.h.
References UnaryFunDialer< Argument1 >::handler.
◆ dial()
| 
 | inline | 
Definition at line 49 of file AsyncFunCalls.h.
References UnaryFunDialer< Argument1 >::arg1, and UnaryFunDialer< Argument1 >::handler.
◆ print()
| 
 | inlinefinalvirtual | 
Implements CallDialer.
Definition at line 50 of file AsyncFunCalls.h.
References UnaryFunDialer< Argument1 >::arg1.
Member Data Documentation
◆ arg1
| 
 | private | 
Definition at line 54 of file AsyncFunCalls.h.
Referenced by UnaryFunDialer< Argument1 >::dial(), and UnaryFunDialer< Argument1 >::print().
◆ handler
| 
 | private | 
Definition at line 53 of file AsyncFunCalls.h.
Referenced by UnaryFunDialer< Argument1 >::canDial(), and UnaryFunDialer< Argument1 >::dial().
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
