|
LMMS
|
Public Member Functions | |
| DragAndDropJob (FORMATETC f, STGMEDIUM m, DWORD d, std::function< void()> &&cb) | |
| JobStatus | runJob () override |
| Public Member Functions inherited from juce::ThreadPoolJob | |
| ThreadPoolJob (const String &name) | |
| virtual | ~ThreadPoolJob () |
| String | getJobName () const |
| void | setJobName (const String &newName) |
| bool | isRunning () const noexcept |
| bool | shouldExit () const noexcept |
| void | signalJobShouldExit () |
| void | addListener (Thread::Listener *) |
| void | removeListener (Thread::Listener *) |
Public Attributes | |
| FORMATETC | format |
| STGMEDIUM | medium |
| DWORD | whatToDo |
| std::function< void()> | completionCallback |
Additional Inherited Members | |
| Public Types inherited from juce::ThreadPoolJob | |
| enum | JobStatus { jobHasFinished = 0 , jobNeedsRunningAgain } |
| Static Public Member Functions inherited from juce::ThreadPoolJob | |
| static ThreadPoolJob * | getCurrentThreadPoolJob () |
|
inline |
|
inlineoverridevirtual |
Performs the actual work that this job needs to do.
Your subclass must implement this method, in which is does its work.
If the code in this method takes a significant time to run, it must repeatedly check the shouldExit() method to see if something is trying to interrupt the job. If shouldExit() ever returns true, the runJob() method must return immediately.
If this method returns jobHasFinished, then the job will be removed from the pool immediately. If it returns jobNeedsRunningAgain, then the job will be left in the pool and will get a chance to run again as soon as a thread is free.
Implements juce::ThreadPoolJob.
| std::function<void()> juce::DragAndDropHelpers::DragAndDropJob::completionCallback |
| FORMATETC juce::DragAndDropHelpers::DragAndDropJob::format |
| STGMEDIUM juce::DragAndDropHelpers::DragAndDropJob::medium |
| DWORD juce::DragAndDropHelpers::DragAndDropJob::whatToDo |