#include <AsyncJobCalls.h>

Inheritance diagram for JobDialer< Job >:
Collaboration diagram for JobDialer< Job >:

Public Types

typedef Job DestClass
 
typedef CbcPointer< Job > JobPointer
 

Public Member Functions

 JobDialer (const JobPointer &aJob)
 
 JobDialer (const JobDialer &d)
 
virtual bool canDial (AsyncCall &call)
 
void dial (AsyncCall &call)
 
virtual void print (std::ostream &os) const =0
 

Public Attributes

JobPointer job
 

Protected Member Functions

virtual void doDial ()=0
 

Private Member Functions

JobDialeroperator= (const JobDialer &)
 

Detailed Description

template<class Job>
class JobDialer< Job >

This is a base class for all job call dialers. It does all the job dialing logic (debugging, handling exceptions, etc.) except for calling the job method. The latter requires knowing the number and type of method parameters. Thus, we add a dial() virtual method that the MemFunT templates below implement for us, calling the job's method with the right params.

Definition at line 25 of file AsyncJobCalls.h.

Member Typedef Documentation

◆ DestClass

template<class Job >
typedef Job JobDialer< Job >::DestClass

Definition at line 28 of file AsyncJobCalls.h.

◆ JobPointer

template<class Job >
typedef CbcPointer<Job> JobDialer< Job >::JobPointer

Definition at line 29 of file AsyncJobCalls.h.

Constructor & Destructor Documentation

◆ JobDialer() [1/2]

template<class Job >
JobDialer< Job >::JobDialer ( const JobPointer aJob)

Definition at line 149 of file AsyncJobCalls.h.

◆ JobDialer() [2/2]

template<class Job >
JobDialer< Job >::JobDialer ( const JobDialer< Job > &  d)

Definition at line 154 of file AsyncJobCalls.h.

Member Function Documentation

◆ canDial()

template<class Job >
bool JobDialer< Job >::canDial ( AsyncCall call)
virtual

◆ dial()

template<class Job >
void JobDialer< Job >::dial ( AsyncCall call)

Definition at line 170 of file AsyncJobCalls.h.

References DBG_CRITICAL, debugs, AsyncCall::debugSection, and AsyncCall::name.

◆ doDial()

◆ operator=()

template<class Job >
JobDialer & JobDialer< Job >::operator= ( const JobDialer< Job > &  )
private

◆ print()

Member Data Documentation

◆ job

template<class Job >
JobPointer JobDialer< Job >::job

The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors