#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

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

Definition at line 28 of file AsyncJobCalls.h.

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

Definition at line 29 of file AsyncJobCalls.h.

Constructor & Destructor Documentation

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

Definition at line 148 of file AsyncJobCalls.h.

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

Definition at line 153 of file AsyncJobCalls.h.

Member Function Documentation

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

Definition at line 169 of file AsyncJobCalls.h.

References debugs, AsyncCall::debugSection, HERE(), and AsyncCall::name.

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

Member Data Documentation

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