AsyncJobCalls.h File Reference
#include "base/AsyncJob.h"
#include "base/CbcPointer.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< CJobMemFun (const CbcPointer< C > &job, typename NullaryMemFunT< C >::Method method)
 
template<class C , class Argument1 >
UnaryMemFunT< C, Argument1JobMemFun (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))
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:50

Definition at line 58 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)))
NullaryMemFunT< C > JobMemFun(const CbcPointer< C > &job, typename NullaryMemFunT< C >::Method method)

Definition at line 63 of file AsyncJobCalls.h.

◆ JobCallback

#define JobCallback (   dbgSection,
  dbgLevel,
  Dialer,
  job,
  method 
)
Value:
asyncCall((dbgSection), (dbgLevel), #method, \
Dialer(CbcPointer<Dialer::DestClass>(job), &method))
RefCount< AsyncCallT< Dialer > > asyncCall(int aDebugSection, int aDebugLevel, const char *aName, const Dialer &aDialer)
Definition: AsyncCall.h:156

Definition at line 69 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 50 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 133 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 140 of file AsyncJobCalls.h.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors