JobWait< Job > Class Template Reference

#include <JobWait.h>

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

Public Types

typedef CbcPointer< Job > JobPointer

Public Member Functions

void start (const JobPointer &aJob, const AsyncCall::Pointer &aCallback)
 starts waiting for the given job to call the given callback More...
JobPointer job () const

Private Attributes

JobPointer typedJob_
 nearly duplicates JobWaitBase::job_ but exposes the actual job type More...

Detailed Description

template<class Job>
class JobWait< Job >

Manages waiting for an AsyncJob callback. Completes JobWaitBase by providing Job type-specific members.

Definition at line 63 of file JobWait.h.

Member Typedef Documentation

◆ JobPointer

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

Definition at line 66 of file JobWait.h.

Member Function Documentation

◆ job()

template<class Job >
JobPointer JobWait< Job >::job ( ) const
a cbdata pointer to the job we are waiting for (or nil) the returned pointer may be falsy, even if we are still waiting()

Definition at line 76 of file JobWait.h.

Referenced by FwdState::notifyConnOpener(), and TunnelStateData::notifyConnOpener().

◆ start()

Member Data Documentation

◆ typedJob_

template<class Job >
JobPointer JobWait< Job >::typedJob_

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






Web Site Translations