JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::MessageThread Class Reference

#include <juce_LinuxMessageThread.h>

Collaboration diagram for juce::MessageThread:

Public Member Functions

 MessageThread ()
 
 ~MessageThread ()
 
bool isRunning () const noexcept
 
void start ()
 
void stop ()
 

Private Attributes

std::atomic< boolshouldExit { false }
 
std::thread thread
 
WaitableEvent threadInitialised
 

Detailed Description

Constructor & Destructor Documentation

◆ MessageThread()

juce::MessageThread::MessageThread ( )
inline

References start().

◆ ~MessageThread()

juce::MessageThread::~MessageThread ( )
inline

Member Function Documentation

◆ isRunning()

bool juce::MessageThread::isRunning ( ) const
inlinenoexcept

References thread.

Referenced by start(), and stop().

◆ start()

◆ stop()

void juce::MessageThread::stop ( )
inline

References isRunning(), shouldExit, and thread.

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

Member Data Documentation

◆ shouldExit

std::atomic<bool> juce::MessageThread::shouldExit { false }
private

Referenced by start(), and stop().

◆ thread

std::thread juce::MessageThread::thread
private

Referenced by isRunning(), start(), and stop().

◆ threadInitialised

WaitableEvent juce::MessageThread::threadInitialised
private

Referenced by start().


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