JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ThreadPool::JobSelector Class Referenceabstract

A callback class used when you need to select which ThreadPoolJob objects are suitable for some kind of operation. More...

#include <juce_ThreadPool.h>

Public Member Functions

virtual ~JobSelector ()
 
virtual bool isJobSuitable (ThreadPoolJob *job)=0
 Should return true if the specified thread matches your criteria for whatever operation that this object is being used for. More...
 

Detailed Description

A callback class used when you need to select which ThreadPoolJob objects are suitable for some kind of operation.

See also
ThreadPool::removeAllJobs

Constructor & Destructor Documentation

◆ ~JobSelector()

virtual juce::ThreadPool::JobSelector::~JobSelector ( )
inlinevirtual

Member Function Documentation

◆ isJobSuitable()

virtual bool juce::ThreadPool::JobSelector::isJobSuitable ( ThreadPoolJob job)
pure virtual

Should return true if the specified thread matches your criteria for whatever operation that this object is being used for.

Any implementation of this method must be extremely fast and thread-safe!


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