OpenShot Library | libopenshot-audio 0.2.0
|
Public Member Functions | |
AsyncUpdaterMessage (AsyncUpdater &au) | |
void | messageCallback () override |
Called when the message is delivered. | |
![]() | |
~CallbackMessage () override=default | |
Destructor. | |
virtual void | messageCallback () override=0 |
Called when the message is delivered. | |
![]() | |
virtual void | messageCallback ()=0 |
bool | post () |
![]() | |
void | incReferenceCount () noexcept |
Increments the object's reference count. | |
void | decReferenceCount () noexcept |
Decreases the object's reference count. | |
bool | decReferenceCountWithoutDeleting () noexcept |
Decreases the object's reference count. | |
int | getReferenceCount () const noexcept |
Returns the object's current reference count. | |
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). | |
ReferenceCountedObject (const ReferenceCountedObject &) noexcept | |
Copying from another object does not affect this one's reference-count. | |
ReferenceCountedObject (ReferenceCountedObject &&) noexcept | |
Copying from another object does not affect this one's reference-count. | |
ReferenceCountedObject & | operator= (const ReferenceCountedObject &) noexcept |
Copying from another object does not affect this one's reference-count. | |
ReferenceCountedObject & | operator= (ReferenceCountedObject &&) noexcept |
Copying from another object does not affect this one's reference-count. | |
virtual | ~ReferenceCountedObject () |
Destructor. | |
void | resetReferenceCount () noexcept |
Resets the reference count to zero without deleting the object. | |
Definition at line 26 of file juce_AsyncUpdater.cpp.
|
inline |
Definition at line 29 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().
AsyncUpdater& juce::AsyncUpdater::AsyncUpdaterMessage::owner |
Definition at line 37 of file juce_AsyncUpdater.cpp.
Atomic<int> juce::AsyncUpdater::AsyncUpdaterMessage::shouldDeliver |
Definition at line 38 of file juce_AsyncUpdater.cpp.