JUCE: MessageThread Class Reference

JUCE

Public Member Functions | List of all members
MessageThread Class Reference
juce_audio_plugin_client » utility

`#include <juce_LinuxMessageThread.h>`

## Public Member Functions
| MessageThread ()
| ~MessageThread ()
void | start ()
void | stop ()
bool | isRunning () const noexcept

## Detailed Description

## Constructor & Destructor Documentation

## ◆ MessageThread()

MessageThread::MessageThread | ( |  | ) |

References start().

## ◆ ~MessageThread()

MessageThread::~MessageThread | ( |  | ) |

References MessageManager::getInstance(), stop(), and MessageManager::stopDispatchLoop().

## Member Function Documentation

## ◆ start()

void MessageThread::start | ( |  | ) |

References dispatchNextMessageOnSystemQueue(), MessageManager::getInstance(), isRunning(), MessageManager::setCurrentThreadAsMessageThread(), Thread::setCurrentThreadName(), Thread::setCurrentThreadPriority(), WaitableEvent::signal(), Thread::sleep(), stop(), and WaitableEvent::wait().

Referenced by MessageThread(), and HostDrivenEventLoop::~HostDrivenEventLoop().

## ◆ stop()

void MessageThread::stop | ( |  | ) |

References isRunning().

Referenced by HostDrivenEventLoop::HostDrivenEventLoop(), start(), and ~MessageThread().

## ◆ isRunning()

bool MessageThread::isRunning | ( |  | ) | const
| noexcept

Referenced by start(), and stop().

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

- juce_LinuxMessageThread.h