JobWait.h
Go to the documentation of this file.
std::ostream & operator<<(std::ostream &os, const JobWaitBase &wait)
Definition: JobWait.h:84
Definition: JobWait.h:20
void start_(AsyncJob::Pointer, AsyncCall::Pointer)
starts waiting for the given job to call the given callback
Definition: JobWait.cc:24
void print(std::ostream &) const
summarizes what we are waiting for (for debugging)
Definition: JobWait.cc:71
JobWaitBase(JobWaitBase &&)=delete
no copying of any kind: each waiting context needs a dedicated AsyncCall
AsyncCall::Pointer callback_
the call we are waiting for the job_ to make (or nil)
Definition: JobWait.h:57
JobWaitBase()
Definition: JobWait.h:64
JobPointer typedJob_
nearly duplicates JobWaitBase::job_ but exposes the actual job type
Definition: JobWait.h:80
void start(const JobPointer &aJob, const AsyncCall::Pointer &aCallback)
starts waiting for the given job to call the given callback
Definition: JobWait.h:69