76 if (
const auto rawJob =
job_.
get())
#define CallJobHere(debugSection, debugLevel, job, Class, method)
const InstanceId< AsyncCall > id
bool cancel(const char *reason)
static void Start(const Pointer &job)
Cbc * valid() const
was set and is valid
Cbc * get() const
a temporary valid raw Cbc pointer or NULL
void clear()
the common part of finish() and cancel()
void start_(AsyncJob::Pointer, AsyncCall::Pointer)
starts waiting for the given job to call the given callback
void cancel(const char *reason)
void print(std::ostream &) const
summarizes what we are waiting for (for debugging)
AsyncJob::Pointer job_
the job that we are waiting to call us back (or nil)
AsyncCall::Pointer callback_
the call we are waiting for the job_ to make (or nil)