LMMS
Loading...
Searching...
No Matches
juce::ComponentRestarter Class Reference

#include <juce_VST3Common.h>

Inheritance diagram for juce::ComponentRestarter:
juce::AsyncUpdater

Classes

struct  Listener

Public Member Functions

 ComponentRestarter (Listener &listenerIn)
 ~ComponentRestarter () noexcept override
void restart (int32 newFlags)

Private Member Functions

void handleAsyncUpdate () override
Private Member Functions inherited from juce::AsyncUpdater
 AsyncUpdater ()
virtual ~AsyncUpdater ()
void triggerAsyncUpdate ()
void cancelPendingUpdate () noexcept
void handleUpdateNowIfNeeded ()
bool isUpdatePending () const noexcept

Private Attributes

Listenerlistener
std::atomic< int32flags { 0 }

Constructor & Destructor Documentation

◆ ComponentRestarter()

juce::ComponentRestarter::ComponentRestarter ( Listener & listenerIn)
inlineexplicit

◆ ~ComponentRestarter()

juce::ComponentRestarter::~ComponentRestarter ( )
inlineoverridenoexcept

Member Function Documentation

◆ handleAsyncUpdate()

void juce::ComponentRestarter::handleAsyncUpdate ( )
inlineoverrideprivatevirtual

Called back to do whatever your class needs to do.

This method is called by the message thread at the next convenient time after the triggerAsyncUpdate() method has been called.

Implements juce::AsyncUpdater.

◆ restart()

void juce::ComponentRestarter::restart ( int32 newFlags)
inline

Member Data Documentation

◆ flags

std::atomic<int32> juce::ComponentRestarter::flags { 0 }
private

◆ listener

Listener& juce::ComponentRestarter::listener
private

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