9#ifndef THREADWEAVER_QUEUEING_H
10#define THREADWEAVER_QUEUEING_H
12#include "collection.h"
13#include "jobinterface.h"
14#include "jobpointer.h"
16#include "managedjobpointer.h"
17#include "qobjectdecorator.h"
34 JobInterface *
test =
static_cast<JobInterface *
>(job);
40inline JobPointer make_job_raw(JobInterface *job)
42 return ManagedJobPointer<JobInterface>(job);
47JobPointer enqueue(Queue *weaver, T t)
49 JobPointer ret = make_job(t);
57 JobInterface *
test =
static_cast<JobInterface *
>(t);
66inline JobPointer enqueue<JobPointer>(Queue *weaver, JobPointer job)
74JobPointer enqueue(T t)
80inline JobPointer enqueue_raw(Queue *weaver, JobInterface *job)
82 return enqueue(weaver, make_job_raw(job));
86inline JobPointer enqueue_raw(JobInterface *job)
static ThreadWeaver::Queue * instance()
Access the application-global Queue.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:38 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.