OpenShot Library | OpenShotAudio
0.2.1
|
Public Member Functions | |
AsyncUpdaterMessage (AsyncUpdater &au) | |
void | messageCallback () override |
Called when the message is delivered. More... | |
![]() | |
~CallbackMessage () override=default | |
Destructor. More... | |
![]() | |
bool | post () |
![]() | |
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 | |
AsyncUpdater & | owner |
Atomic< int > | shouldDeliver |
Additional Inherited Members | |
![]() | |
using | Ptr = ReferenceCountedObjectPtr< MessageBase > |
![]() | |
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... | |
ReferenceCountedObject & | operator= (const ReferenceCountedObject &) noexcept |
Copying from another object does not affect this one's reference-count. More... | |
ReferenceCountedObject & | operator= (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... | |
Definition at line 26 of file juce_AsyncUpdater.cpp.
|
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().