#include "base/AsyncJob.h"
#include "base/CbcPointer.h"
#include "debug/Messages.h"
#include "debug/Stream.h"
Include dependency graph for AsyncJobCalls.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
class | JobDialer< Job > |
class | NullaryMemFunT< Job > |
class | UnaryMemFunT< Job, Data, Argument1 > |
Macros | |
#define | CallJobHere(debugSection, debugLevel, job, Class, method) |
#define | CallJobHere1(debugSection, debugLevel, job, Class, method, arg1) |
#define | JobCallback(dbgSection, dbgLevel, Dialer, job, method) |
Convenience macro to create a Dialer-based job callback. More... | |
Functions | |
template<class Dialer > | |
AsyncCall::Pointer | CallJob (int debugSection, int debugLevel, const char *fileName, int fileLine, const char *callName, const Dialer &dialer) |
schedule an async job call using a dialer; use CallJobHere macros instead More... | |
template<class C > | |
NullaryMemFunT< C > | JobMemFun (const CbcPointer< C > &job, typename NullaryMemFunT< C >::Method method) |
template<class C , class Argument1 > | |
UnaryMemFunT< C, Argument1 > | JobMemFun (const CbcPointer< C > &job, typename UnaryMemFunT< C, Argument1 >::Method method, Argument1 arg1) |
Macro Definition Documentation
◆ CallJobHere
#define CallJobHere | ( | debugSection, | |
debugLevel, | |||
job, | |||
Class, | |||
method | |||
) |
Value:
CallJob((debugSection), (debugLevel), __FILE__, __LINE__, \
(#Class "::" #method), \
JobMemFun<Class>((job), &Class::method))
Definition at line 59 of file AsyncJobCalls.h.
◆ CallJobHere1
#define CallJobHere1 | ( | debugSection, | |
debugLevel, | |||
job, | |||
Class, | |||
method, | |||
arg1 | |||
) |
Value:
CallJob((debugSection), (debugLevel), __FILE__, __LINE__, \
(#Class "::" #method), \
JobMemFun((job), &Class::method, (arg1)))
Definition at line 64 of file AsyncJobCalls.h.
◆ JobCallback
#define JobCallback | ( | dbgSection, | |
dbgLevel, | |||
Dialer, | |||
job, | |||
method | |||
) |
Value:
asyncCall((dbgSection), (dbgLevel), #method, \
Dialer(CbcPointer<Dialer::DestClass>(job), &method))
Definition at line 70 of file AsyncJobCalls.h.
Function Documentation
◆ CallJob()
template<class Dialer >
AsyncCall::Pointer CallJob | ( | int | debugSection, |
int | debugLevel, | ||
const char * | fileName, | ||
int | fileLine, | ||
const char * | callName, | ||
const Dialer & | dialer | ||
) |
Definition at line 51 of file AsyncJobCalls.h.
References asyncCall(), and ScheduleCall().
◆ JobMemFun() [1/2]
template<class C >
NullaryMemFunT<C> JobMemFun | ( | const CbcPointer< C > & | job, |
typename NullaryMemFunT< C >::Method | method | ||
) |
Definition at line 134 of file AsyncJobCalls.h.
Referenced by AsyncJob::deleteThis().
◆ JobMemFun() [2/2]
template<class C , class Argument1 >
UnaryMemFunT<C, Argument1> JobMemFun | ( | const CbcPointer< C > & | job, |
typename UnaryMemFunT< C, Argument1 >::Method | method, | ||
Argument1 | arg1 | ||
) |
Definition at line 141 of file AsyncJobCalls.h.
Definition: AsyncJob.h:17
RefCount< AsyncCallT< Dialer > > asyncCall(int aDebugSection, int aDebugLevel, const char *aName, const Dialer &aDialer)
Definition: AsyncCall.h:156
NullaryMemFunT< C > JobMemFun(const CbcPointer< C > &job, typename NullaryMemFunT< C >::Method method)
Definition: AsyncJobCalls.h:134
AsyncCall::Pointer CallJob(int debugSection, int debugLevel, const char *fileName, int fileLine, const char *callName, const Dialer &dialer)
schedule an async job call using a dialer; use CallJobHere macros instead
Definition: AsyncJobCalls.h:51
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