OpenShot Library | libopenshot-audio  0.2.0
juce::AsyncUpdater::AsyncUpdaterMessage Class Reference
+ Inheritance diagram for juce::AsyncUpdater::AsyncUpdaterMessage:

Public Member Functions

 AsyncUpdaterMessage (AsyncUpdater &au)
 
void messageCallback () override
 Called when the message is delivered. More...
 
- Public Member Functions inherited from juce::CallbackMessage
 ~CallbackMessage () override=default
 Destructor. More...
 
- Public Member Functions inherited from juce::MessageManager::MessageBase
bool post ()
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 Increments the object's reference count. More...
 
void decReferenceCount () noexcept
 Decreases the object's reference count. More...
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count. More...
 
int getReferenceCount () const noexcept
 Returns the object's current reference count. More...
 

Public Attributes

AsyncUpdaterowner
 
Atomic< int > shouldDeliver
 

Additional Inherited Members

- Public Types inherited from juce::MessageManager::MessageBase
using Ptr = ReferenceCountedObjectPtr< MessageBase >
 
- Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()=default
 Creates the reference-counted object (with an initial ref count of zero). More...
 
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
virtual ~ReferenceCountedObject ()
 Destructor. More...
 
void resetReferenceCount () noexcept
 Resets the reference count to zero without deleting the object. More...
 

Detailed Description

Definition at line 26 of file juce_AsyncUpdater.cpp.

Member Function Documentation

◆ messageCallback()

void juce::AsyncUpdater::AsyncUpdaterMessage::messageCallback ( )
inlineoverridevirtual

Called when the message is delivered.

You should implement this method and make it do whatever action you want to perform.

Note that like all other messages, this object will be deleted immediately after this method has been invoked.

Implements juce::CallbackMessage.

Definition at line 31 of file juce_AsyncUpdater.cpp.

References juce::Atomic< Type >::compareAndSetBool(), and juce::AsyncUpdater::handleAsyncUpdate().


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