ThreadWeaver
collection.h
104 * Make a Collection that will execute specified callable (eg. Lambda) for each item in given iterable container
A Collection is a vector of Jobs that will be queued together.
Definition collection.h:35
virtual int jobListLength_locked() const
Return the number of jobs in the joblist.
Definition collection.cpp:182
int elementCount() const
Return the number of elements in the collection.
Definition collection.cpp:175
void aboutToBeQueued_locked(QueueAPI *api) override
Overload to queue the collection.
Definition collection.cpp:110
void execute(const JobPointer &job, Thread *) override
Overload the execute method.
Definition collection.cpp:140
Collection & operator<<(ThreadWeaver::JobInterface *job)
Add the job to this collection by pointer.
Definition collection.cpp:187
void aboutToBeDequeued_locked(QueueAPI *api) override
Overload to dequeue the collection.
Definition collection.cpp:122
void requestAbort() override
Dequeue all remaining Jobs and request abortion of all running jobs.
Definition collection.cpp:104
JobPointer jobAt(int i)
Return a ref-erence to the job in the job list at position i.
Definition collection.cpp:168
void stop(Ekos::AlignState mode)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.