OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_Message.h>
Public Types | |
using | Ptr = ReferenceCountedObjectPtr< Message > |
![]() | |
using | Ptr = ReferenceCountedObjectPtr< MessageBase > |
Public Member Functions | |
Message () noexcept | |
![]() | |
bool | post () |
![]() | |
void | incReferenceCount () noexcept |
void | decReferenceCount () noexcept |
bool | decReferenceCountWithoutDeleting () noexcept |
int | getReferenceCount () const noexcept |
Additional Inherited Members | |
![]() | |
ReferenceCountedObject ()=default | |
ReferenceCountedObject (const ReferenceCountedObject &) noexcept | |
ReferenceCountedObject (ReferenceCountedObject &&) noexcept | |
ReferenceCountedObject & | operator= (const ReferenceCountedObject &) noexcept |
ReferenceCountedObject & | operator= (ReferenceCountedObject &&) noexcept |
virtual | ~ReferenceCountedObject () |
void | resetReferenceCount () noexcept |
The base class for objects that can be sent to a MessageListener.
If you want to send a message that carries some kind of custom data, just create a subclass of Message with some appropriate member variables to hold your data.
Always create a new instance of a Message object on the heap, as it will be deleted automatically after the message has been delivered.
Definition at line 43 of file juce_Message.h.
Definition at line 51 of file juce_Message.h.
|
noexcept |
Creates an uninitialised message.
Definition at line 26 of file juce_MessageListener.cpp.
|
override |
Definition at line 27 of file juce_MessageListener.cpp.